BedrioxDOCUMENTATION
API CLASS

PlayerItemUsedEvent

Immutable notification emitted after an authoritative item use commits.

Bedriox\Api\Event\Player\PlayerItemUsedEvent
classBedriox\Api\Event\Player

Public methods

__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Inventory\ItemStack $item, Bedriox\Api\Inventory\ItemUseKind $kind, Bedriox\Api\Inventory\EquipmentSlot $hand, int $elapsedTicks)

Typed public method.

View exact source ↗