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

Class: BlockComponentOnPlaceEvent

event block component

Beta

包含有关特定方块被放置的信息。

Contains information regarding a specific block that was placed.

Extends

Properties

block

readonly block: Block

Beta

Remarks

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

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

Inherited from

BlockEvent.block


dimension

readonly dimension: Dimension

Beta

Remarks

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

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

Inherited from

BlockEvent.dimension


previousBlock

readonly previousBlock: BlockPermutation

Beta

Remarks

在此位置被替换的先前方块。

Previous block at this location that was replaced.

同领域相关