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/BlockComponentBlockBreakEvent.md.

Class: BlockComponentBlockBreakEvent

event block component

Beta

包含有关特定方块被破坏的信息。

Contains information regarding a specific block being broken.

Extends

Properties

block

readonly block: Block

Beta

Remarks

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

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

Inherited from

BlockEvent.block


blockDestructionSource?

readonly optional blockDestructionSource?: Block

Beta

Remarks

导致破坏的方块。

The block that caused destruction.


brokenBlockPermutation

readonly brokenBlockPermutation: BlockPermutation

Beta

Remarks

返回此方块在被破坏之前的置换信息。

Returns permutation information about this block before it was broken.


dimension

readonly dimension: Dimension

Beta

Remarks

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

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

Inherited from

BlockEvent.dimension


entitySource?

readonly optional entitySource?: Entity

Beta

Remarks

导致破坏的 Actor(引擎对象)。

The Actor that caused destruction.

同领域相关