Contains information regarding an event after a player interacts with an entity.

Properties

itemStack?: ItemStack

The item stack that is being used in the interaction, or undefined if empty hand.

player: Player

Source Player for this event.

target: Entity

The entity that will be interacted with.