On Death Drops Filtered
Description
Fires when a Drop Rule is applied at the player's death — after KeepFilters and DropFilters have been resolved against the inventory and the keep / drop sets have been finalized.
Use this trigger to react to drop-filtering specifically (e.g. soul-bound recovery messages, chat logs, custom particle effects on dropped items).
Variables
| Variable | Type | Description |
|---|---|---|
keptItems |
List<ItemStack> |
Items the rule kept (returned to the player on respawn). |
forcedItems |
List<ItemStack> |
Items the rule force-dropped (matched a DropFilter, or fell through the slot toggle). |
drop-rule |
string | The id of the rule that was applied (e.g. Default, or your override's name). |
keptItemsandforcedItemsare exposed on the trigger metadata as objects, not as Mythic placeholders. Use them from API listeners; thedrop-rulevariable is what's available inside skills.
Examples
Notify the player which rule was applied and play a soft sound when they keep items:
death_drops_feedback:
Skills:
- sound{s=block.amethyst_block.chime} @self ~onDeathDropsFiltered
- actionbar{m="<gray>Drop rule: <yellow><skill.var.drop-rule>"} @self ~onDeathDropsFiltered
Aliases
- onDropsFiltered