Skip to content

@minecraft/server


@minecraft/server / BlockContainerClosedAfterEvent

Class: BlockContainerClosedAfterEvent ​

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

Contains information regarding a specific container block being closed.

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


closeSource ​

closeSource: ContainerAccessSource

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

Remarks ​

The source of the block container being closed.

This property can't be edited in restricted-execution mode.


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