ItemUseAfterEvent Class

Classes that extend ItemUseAfterEvent

Contains information related to an item being used on a block. This event fires when an item used by a player successfully triggers an entity interaction.



itemStack: ItemStack;

The impacted item stack that is being used.

Type: ItemStack


read-only source: Player;

Returns the source entity that triggered this item event.

Type: Player