Skip to content

@minecraft/server


@minecraft/server / PlayerPlaceBlockAfterEvent

Class: PlayerPlaceBlockAfterEvent ​

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

Contains information regarding an event where a player places a block.

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


player ​

readonly player: Player

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

Remarks ​

Player that placed the block for this event.