MineClone5/mods/PLAYER/mcl_death_drop/API.md

12 lines
401 B
Markdown
Raw Normal View History

2021-03-27 20:12:48 +01:00
# mcl_death_drop
Drop registered inventories on player death.
## mcl_death_drop.register_dropped_list(inv, listname, drop)
* inv: string of function returning a string
* listname: string
* drop: bool
-- if true the entire list will be dropped
-- if false, items with curse_of_vanishing enchantement will be broken.
## mcl_death_drop.registered_dropped_lists
Table containing dropped list definition.