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

Hierarchy

  • PlayerInteractWithEntityAfterEvent

Constructors

Properties

Constructors

Properties

itemStack?: ItemStack

Remarks

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

player: Player

Remarks

Source Player for this event.

target: Entity

Remarks

The entity that will be interacted with.