For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/EntityRemoveAfterEvent.md.

Class: EntityRemoveAfterEvent

event entity

Beta

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

readonly removedEntityId: string

Beta

Remarks

Id of the entity that was removed.


typeId

readonly typeId: string

Beta

Remarks

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

同领域相关