Skip to content

@minecraft/server


@minecraft/server / BlockComponentOnPlaceEvent

Class: BlockComponentOnPlaceEvent ​

Defined in: @minecraft/server/index.d.ts:4477

Contains information regarding a specific block that was placed.

Extends ​

Properties ​

block ​

readonly block: Block

Defined in: @minecraft/server/index.d.ts:4790

Remarks ​

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

Inherited from ​

BlockEvent.block


dimension ​

readonly dimension: Dimension

Defined in: @minecraft/server/index.d.ts:4797

Remarks ​

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

Inherited from ​

BlockEvent.dimension


previousBlock ​

readonly previousBlock: BlockPermutation

Defined in: @minecraft/server/index.d.ts:4484

Remarks ​

Previous block at this location that was replaced.