ImpalingEnchantment 5.46.0
Extends MeleeWeaponEnchantment
Impaling (Bedrock rule): 2.5 extra damage per level against mobs touching water or standing in the rain.
Methods
getDamageBonus()
php
public function getDamageBonus(int $enchantmentLevel) : floatisApplicableTo()
php
public function isApplicableTo(\pocketmine\entity\Entity $victim) : bool