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

Properties

itemStack?: ItemStack

The ItemStack after the interaction succeeded, or undefined if hand is empty.

player: Player

Source Player for this event.

target: Entity

The entity that will be interacted with.