Interface EntityDeathFunction

Function used in "EntityDeath" callback.

  • Parameters

    • entityUid: number
    • attackerUid: number

      entity that caused damage, determines actor of damage source, -1 otherwise

    • damageType: number

      existing Entity.DamageSource or any inclusive value between 25 and 32

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.