On Corpse Loot
When a corpse is looted
Felder
Dieser Eintrag hat keine eigenen Felder: Füge ihn hinzu und verknüpfe ihn dort, wo er gebraucht wird.
Gemeinsame TypeWriter-Felder (triggers)
| Feld | Typ | Standard | Beschreibung |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
How to use it
Link the entries to run in triggers. They run for the owner of the corpse (for on_corpse_loot, for the player who looted it) and only when that player is online. The event publishes the context keys OWNER_NAME, OWNER_UUID, EXPERIENCE, ITEM_COUNT and CORPSE_POSITION, which the triggered entries can read.