Skip to content

Special Enchantment Effectiveness Against Players

Provi edited this page Feb 14, 2024 · 3 revisions

Gamerule ID: damageEnchantAgainstPlayerEffectiveness
Default Value: 0.5
Data Type: Double

This gamerule modifies how much damage any special damage enchantment can do against players. It does not affect Sharpness, but will affect Smite, Rebel, or any other special damage enchantment.
The final damage that is added by the enchantment is multiplied by the gamerule value.

Put simply:

damage_against_mobs = weapon_damage + enchantment_damage;
damage_against_players = weapon_damage + (enchantment_damage * gamerule.value);

Note

  • At a value of 1, a Rebel 5 netherite sword will have enough damage to instantly kill an unarmoured player.
    • As funny as this is, I imagine most server owners do not want that.
  • The lower limit on this gamerule is 0.0, which would nullify the enchantments against players.
  • There is no upper limit on the gamerule, you could - for some reason - choose to multiply damage by 100.
  • If you want the enchantments to be equivalent to Sharpness, then set the value to 0.24.
Clone this wiki locally