On Corpse Expire
When a corpse expires unlooted
字段
此条目没有特定字段:请添加并在需要的地方关联它。
TypeWriter 通用字段(triggers)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
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.