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

Class: ItemComponentMineBlockEvent

event block component

Beta

包含使用物品挖掘方块的相关信息。

Contains information regarding the mining of a block using an item.

Properties

block

readonly block: Block

Beta

Remarks

此事件影响的方块。

The block impacted by this event.


itemStack?

readonly optional itemStack?: ItemStack

Beta

Remarks

用于挖掘方块的物品堆。

The item stack used to mine the block.


minedBlockPermutation

readonly minedBlockPermutation: BlockPermutation

Beta

Remarks

被挖掘方块的方块状态(BlockPermutation)。

The block permutation that was mined.


source

readonly source: Entity

Beta

Remarks

挖掘方块的实体。

The entity that mined the block.

同领域相关