For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/PlayerStartBreakingBlockAfterEvent.md.

Class: PlayerStartBreakingBlockAfterEvent

event player block

Beta

Preview

包含有关玩家开始破坏方块之后的事件信息。

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

Extends

Properties

block

readonly block: Block

Beta

Remarks

当前世界中此事件所在位置的方块。

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

Inherited from

BlockEvent.block


blockPermutation

readonly blockPermutation: BlockPermutation

Beta

玩家开始破坏的方块的排列。

Remarks

The permutation of the block that the player is starting to break.


dimension

readonly dimension: Dimension

Beta

Remarks

包含此事件主体方块的维度。

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

Inherited from

BlockEvent.dimension


face

readonly face: Direction

Beta

被破坏的方块面。

Remarks

The face of the block being broken.


heldItemStack?

readonly optional heldItemStack?: ItemStack

Beta

玩家用来破坏方块的物品堆,如果为空手则为 undefined

Remarks

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


player

readonly player: Player

Beta

开始破坏此事件方块的玩家。

Remarks

Player that started breaking the block for this event.

同领域相关