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

    类 PlayerBreakBlockAfterEvent

    Contains information regarding an event after a player breaks a block.

    层级 (查看层级一览)

    索引

    属性

    block: Block

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

    brokenBlockPermutation: BlockPermutation

    Returns permutation information about this block before it was broken.

    dimension: Dimension

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

    itemStackAfterBreak?: ItemStack

    The item stack that was used to break the block after the block was broken, or undefined if empty hand.

    itemStackBeforeBreak?: ItemStack

    The item stack that was used to break the block before the block was broken, or undefined if empty hand.

    player: Player

    Player that broke the block for this event.