SerenityJS
    Preparing search index...

    Class PlayerBreakBlockSignal

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    block: Block

    The block that was updated.

    dimension: Dimension

    The dimension the block was updated in.

    dropLoot: boolean = true

    Whether the block should drop loot items when destroyed.

    identifier: WorldEvent = ...

    The identifier of the signal.

    itemStack: null | ItemStack

    The item stack that is being used to break the block, or null if empty hand.

    player: Player

    The player placing the block.

    world: World

    The world instance the signal was emitted in.

    identifier: PlayerBreakBlock = WorldEvent.PlayerBreakBlock

    The identifier of the signal.

    Methods