Script API - v1.26.10
    Preparing search index...

    Class EntityDieAfterEvent

    Contains data related to the death of an entity in the game.

    export class EntityDieAfterEvent {
    private constructor();
    readonly damageSource: EntityDamageSource;
    readonly deadEntity: Entity;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    damageSource: EntityDamageSource

    If specified, provides more information on the source of damage that caused the death of this entity.

    This property can't be read in early-execution mode.

    deadEntity: Entity

    Now-dead entity object.

    This property can't be read in early-execution mode.