@minecraft/server
    Preparing search index...

    Class EntityDieAfterEventSignal

    Supports registering for an event that fires after an entity has died.

    Index

    Methods

    • Parameters

      Returns (arg0: EntityDieAfterEvent) => void

      Returns the closure that can be used in future downstream calls to unsubscribe.

      Subscribes to an event that fires when an entity dies.

      no-restricted-execution - This function can't be called in restricted-execution mode.

      early-execution-allowed - This function can be called in early-execution mode.

    • Parameters

      Returns void

      Stops this event from calling your function when an entity dies.

      no-restricted-execution - This function can't be called in restricted-execution mode.

      early-execution-allowed - This function can be called in early-execution mode.