BedrioxDOCUMENTATION
API CLASS

PlayerItemBreakEvent

Immutable notification emitted after a durability change breaks an item.

Bedriox\Api\Event\Player\PlayerItemBreakEvent
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)

Typed public method.

View exact source ↗