- check_circle Functions
Published Aug 31st, 2021, 8/31/21 9:48 am
- 3,510 views, 3 today
- 158 downloads, 0 today
4
Small datapack that allows for the keepInventory gamerule to be applied to individual players on a server.
Give all players that are supposed to keep their inventories the tag 'keepInventory'. All other player will drop theirs on death.
The gamerule keepInventory must be set to true for this to work.
Since this is an early prototype and proof of concept, only items get dropped and not the XP.
I did not test this on a server. Feedback is welcome.
Do with this whatever you want as long as you don't claim it as your own.
Give all players that are supposed to keep their inventories the tag 'keepInventory'. All other player will drop theirs on death.
The gamerule keepInventory must be set to true for this to work.
Since this is an early prototype and proof of concept, only items get dropped and not the XP.
I did not test this on a server. Feedback is welcome.
Do with this whatever you want as long as you don't claim it as your own.
Compatibility | Minecraft 1.16 |
to | Minecraft 1.18 |
Tags |
5281678
119
Create an account or sign in to comment.