entity_death — Events

on entity_deathorg.bukkit.event.entity.EntityDeathEvent
Entity1.0.0

Description

Fires when an entity dies.

Variables

entity
Entity
org.bukkit.entity.Entity
NullableNo

The entity that died

killer
Player
org.bukkit.entity.Player
NullableYes

The player who killed the entity, or null if not killed by a player

Examples

on entity_death:

Related (Entity)