Skip to content

SmiteEnchantment 5.46.0 ​

class · pocketmine\item\enchantment\SmiteEnchantment · source

Extends MeleeWeaponEnchantment

Smite: 2.5 extra damage per level against undead mobs (zombies, skeletons, the wither, phantoms, zoglins, undead horses...).

Methods ​

getDamageBonus() ​

php
public function getDamageBonus(int $enchantmentLevel) : float

isApplicableTo() ​

php
public function isApplicableTo(\pocketmine\entity\Entity $victim) : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.