Script API - v1.21.0
    Preparing search index...

    Class PlayerInteractWithEntityAfterEvent

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

    Index

    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.