Pular para o conteúdo principal

On Custom Entity Death Event

Triggers when a custom entity is killed by the player

Fires when an ItemsAdder custom entity dies. The event is not a player event, so entries only trigger when a player actually killed it.

Campos

CampoTipoPadrãoDescrição
entityIdString—The custom entity ID that triggers this event (e.g., 'namespace:entity_id'). Leave empty for any custom entity.
Campos comuns do TypeWriter (triggers)
CampoTipoPadrãoDescrição
triggersList<Ref<TriggerableEntry>>empty—