@minecraft/server
    Preparing search index...

    Class EntityDieAfterEventBeta

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

    Index

    Properties

    damageSource: EntityDamageSource

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

    deadEntity: Entity

    Now-dead entity object.