# Death
TIP
This event cannot be cancelled
# Event Details
- The Death event gets called whenever a player dies, you can get some information from the event with the variables listed below
# Variables
$args$[0]
- The player that died$args$[1]
- The damager$args$[2]
- The items names, custom names, IDs, meta, and NBTs that were dropped from the broken block as an array$args$[3]
- The amount of XP that was dropped from the player
# Usage
- Add a command to be called when this event triggers by running
/acodes event death add <command>