A super-small and super-simple datapack to automatically enable the keepInventory gamerule when a world is loaded for the first time. Once it enables keepInventory, it will use a hidden scoreboard value to stop itself from enabled keepInventory again on the same world.
How to Install Auto keep inventory (Datapack)
Auto keep inventory by UltraGamer135 is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4 (latest release: 1.2+mod, file size: 7 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Auto keep inventory file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.