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

Class: BlockComponentPlayerBreakEvent

event player block component

Beta

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

Contains information regarding a specific block being broken by a player.

Extends

Properties

block

readonly block: Block

Beta

Remarks

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

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

Inherited from

BlockEvent.block


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


player?

readonly optional player?: Player

Beta

Remarks

破坏此方块的玩家。

The player that broke this block.

同领域相关