类 EntityRemoveAfterEvent实验性

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.)

属性

removedEntityId: string

Id of the entity that was removed.

typeId: string

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