@minecraft/server / EntityRemoveAfterEvent
Class: EntityRemoveAfterEvent ​
Defined in: @minecraft/server/index.d.ts:12035
Data for an event that happens when an entity is removed from the world (for example, the entity is unloaded because it is not close to players.)
Properties ​
removedEntityId ​
readonlyremovedEntityId:string
Defined in: @minecraft/server/index.d.ts:12042
Remarks ​
Id of the entity that was removed.
typeId ​
readonlytypeId:string
Defined in: @minecraft/server/index.d.ts:12049
Remarks ​
Identifier of the type of the entity removed - for example, 'minecraft:skeleton'.