@minecraft/server / EntityDieAfterEvent
Class: EntityDieAfterEvent ​
Defined in: @minecraft/server/index.d.ts:10116
Contains data related to the death of an entity in the game.
Properties ​
damageSource ​
readonlydamageSource:EntityDamageSource
Defined in: @minecraft/server/index.d.ts:10124
Remarks ​
If specified, provides more information on the source of damage that caused the death of this entity.
deadEntity ​
readonlydeadEntity:Entity
Defined in: @minecraft/server/index.d.ts:10130
Remarks ​
Now-dead entity object.