SerenityJS
    Preparing search index...

    Class PlayerInteractWithBlockSignal

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    block: Block

    The block that was interacted with.

    identifier: WorldEvent = ...

    The identifier of the signal.

    itemStack: null | ItemStack

    The player's held item after the interaction.

    placingBlock: boolean

    Whether the interaction will result in a block being placed. The position of the block will be relative to the clickedFace property.

    source: Player

    The player that triggered the interaction.

    world: World

    The world instance the signal was emitted in.

    identifier: WorldEvent = WorldEvent.PlayerInteractWithBlock

    The identifier of the signal.

    Methods