类 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.

source: Player

Returns the source entity that triggered this item event.