SerenityJS
    Preparing search index...

    Interface EntityDespawnOptions

    interface EntityDespawnOptions {
        changedDimensions: boolean;
        disconnected?: boolean;
        hasDied: boolean;
    }
    Index

    Properties

    changedDimensions: boolean

    If the entity is despawning due to a dimension change.

    disconnected?: boolean

    This is only used for players. If the player is disconnecting from the server.

    hasDied: boolean

    If the entity is despawning due to death.