You can also use the API provided by this mod, to set the damage of your custom ranged weapons. 🔧 Configuration Server sideconfiguration can be found in theconfigdirectory, after running the game with the mod installed. 🔨 Using it as a modder ...
rotationYaw, 0.0F, f * 3.0F * speedMod, 1.0F + (1.5F - f) * shot); arrow.setDamage(arrow.getDamage() * (1 + arrowDamageMultiplier)); arrow.setDamage(arrow.getDamage() + (double) encPower * 0.5D + 0.5D); 代码示例来源:origin: Alex-the-666/Ice_and_Fire entityarrow.setDamage...
Adds new status effect namedImpact, increasing the projectile damage done by the entity. Example command:/effect give @p projectile_damage:impact 30 4 You can also use the API provided by this mod, to set the damage of your custom ranged weapons. 🔧 Configuration Server sideconfiguration...
rotationYaw, 0.0F, f * 3.0F * speedMod, 1.0F + (1.5F - f) * shot); arrow.setDamage(arrow.getDamage() * (1 + arrowDamageMultiplier)); arrow.setDamage(arrow.getDamage() + (double) encPower * 0.5D + 0.5D); 代码示例来源:origin: Alex-the-666/Ice_and_Fire entityarrow.setDamage...