@minecraft
    正在准备搜索索引...

    类 PlayerCancelBreakingBlockAfterEvent实验性

    Contains information regarding an event after a player cancels breaking a block.

    层级 (查看层级一览)

    索引

    属性

    block: Block

    Block currently in the world at the location of this event.

    blockPermutation: BlockPermutation

    The permutation of the block that the player cancelled breaking.

    breakProgress: number

    The progress of breaking the block when the player cancelled in the exclusive range (0, 1).

    dimension: Dimension

    Dimension that contains the block that is the subject of this event.

    face: Direction

    The face of the block that was being broken.

    heldItemStack?: ItemStack

    The item stack that the player was using to break the block, or undefined if empty hand.

    player: Player

    Player that cancelled breaking the block for this event.