Skip to main content

Class: EntityRemoveBeforeEvent

Data for an event that happens when an entity is being removed from the world (for example, the entity is unloaded because it is not close to players.)

Constructors

new EntityRemoveBeforeEvent()

private new EntityRemoveBeforeEvent(): EntityRemoveBeforeEvent

Returns

EntityRemoveBeforeEvent

Properties

removedEntity

readonly removedEntity: Entity

Remarks

Reference to an entity that is being removed.