ps-dps / KeepSomeInventory

Don't lose your equipment when dying
https://modrinth.com/datapack/keep-some-inventory
MIT License
5 stars 3 forks source link

Modded Items Don't Drop #9

Open Mouy07 opened 5 months ago

Mouy07 commented 5 months ago

Upon death, only vanilla items are dropped. All modded items remain in inventory. The reason for this is that the datapack uses a list of items that do drop instead of a list of items that don't drop. Since the list only contains vanilla items, only they are dropped.

My suggestion would be to use a don't-drop list. I'm not sure if this is feasible, but it would be a much more robust solution if possible. It would allow modded items to drop, as well as making updating the pack easier when vanilla Minecraft inevitably gets new items.

PuckiSilver commented 5 months ago

I can look into using a do-drop list instead

I didn't choose that before because of technical limitations but minecraft has gotten some new features and there might be a nice way to do it now