Skip to content

Latest commit

 

History

History
53 lines (26 loc) · 760 Bytes

File metadata and controls

53 lines (26 loc) · 760 Bytes

Home > server > BaseEntityController > despawn

BaseEntityController.despawn() method

Override this method to handle the despawn of an entity from your entity controller.

Signature:

despawn(entity: Entity): void;

Parameters

Parameter

Type

Description

entity

Entity

The entity to despawn.

**Returns:**

void