@minecraft/server / BlockComponentEntityEvent
Class: BlockComponentEntityEvent ​
Defined in: @minecraft/server/index.d.ts:4428
Contains information regarding an event sent by an entity to this block in the world.
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 ​
blockPermutation ​
readonlyblockPermutation:BlockPermutation
Defined in: @minecraft/server/index.d.ts:4436
Remarks ​
Returns permutation information about the block receiving the event.
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 ​
entitySource ​
readonlyentitySource:Entity
Defined in: @minecraft/server/index.d.ts:4442
Remarks ​
The entity that sent the event.
name ​
readonlyname:string
Defined in: @minecraft/server/index.d.ts:4448
Remarks ​
Name of the event fired by the entity.