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

Hierarchy

  • PlayerInteractWithEntityAfterEvent

Constructors

Properties

Constructors

Properties

itemStack?: ItemStack

Remarks

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

player: Player

Remarks

Source Player for this event.

target: Entity

Remarks

The entity that will be interacted with.