Skip to content

SharpnessEnchantment ​

class · pocketmine\item\enchantment\SharpnessEnchantment · source

Extends MeleeWeaponEnchantment

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.