Private
constructorOptional
Readonly
beforeThe ItemStack before the interaction succeeded, or undefined if hand is empty.
Optional
Readonly
itemThe ItemStack after the interaction succeeded, or undefined if hand is empty.
Readonly
playerSource Player for this event.
Readonly
targetThe entity that will be interacted with.
Contains information regarding an event after a player successfully interacts with an entity.