SerenityJS
    Preparing search index...

    Class PlayerInteractWithEntitySignal

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    beforeItemStack: null | ItemStack

    The player's item that was used to interact with before the interaction

    identifier: WorldEvent = ...

    The identifier of the signal.

    itemStack: null | ItemStack

    The player's held item that was used to interact with after the interaction

    source: Player

    The player that triggered the interaction.

    target: Entity

    The entity that was interacted with.

    world: World

    The world instance the signal was emitted in.

    identifier: WorldEvent = WorldEvent.PlayerInteractWithEntity

    The identifier of the signal.

    Methods