PlayerItemDamageEvent
Cancellable, adjustable durability loss emitted before authoritative commit.
Bedriox\Api\Event\Player\PlayerItemDamageEvent
classBedriox\Api\Event\Player
Public methods
__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Inventory\ItemStack $item, Bedriox\Api\Inventory\ItemDamageCause $cause, Bedriox\Api\Inventory\EquipmentSlot $slot, int $damage)Typed public method.
damage(): intTyped public method.
setDamage(int $damage): voidTyped public method.
