EntityRemoveAfterEvent Class

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

read-only removedEntityId: string;

Id of the entity that was removed.

Type: string

typeId

read-only typeId: string;

Identifier of the type of the entity removed - for example, 'minecraft:skeleton'.

Type: string