2021-03-27 21:12:48 +02:00
|
|
|
# mcl_death_drop
|
|
|
|
Drop registered inventories on player death.
|
|
|
|
|
|
|
|
## mcl_death_drop.register_dropped_list(inv, listname, drop)
|
2021-03-28 00:07:46 +02:00
|
|
|
* inv: can be:
|
|
|
|
* "PLAYER": player inventory (to avoid multiple calling to get_inventory())
|
|
|
|
* function: must return inventory
|
2021-03-27 21:12:48 +02:00
|
|
|
* listname: string
|
|
|
|
* drop: bool
|
2021-03-28 00:07:46 +02:00
|
|
|
* true: the entire list will be dropped
|
|
|
|
* false: items with curse_of_vanishing enchantement will be broken.
|
2021-03-27 21:12:48 +02:00
|
|
|
|
|
|
|
## mcl_death_drop.registered_dropped_lists
|
2021-03-28 00:07:46 +02:00
|
|
|
Table containing dropped list inventory, name and drop state.
|