@minecraft/server / BlockContainerOpenedAfterEvent
Class: BlockContainerOpenedAfterEvent ​
Defined in: @minecraft/server/index.d.ts:4725
Contains information regarding a specific container block being opened.
Extends ​
Properties ​
block ​
readonlyblock:Block
Defined in: @minecraft/server/index.d.ts:4790
Remarks ​
Block currently in the world at the location of this event.
Inherited from ​
dimension ​
readonlydimension:Dimension
Defined in: @minecraft/server/index.d.ts:4797
Remarks ​
Dimension that contains the block that is the subject of this event.
Inherited from ​
openSource ​
openSource:
ContainerAccessSource
Defined in: @minecraft/server/index.d.ts:4734
Remarks ​
The source of the block container being opened.
This property can't be edited in restricted-execution mode.