Auto keep inventory
Auto keep inventory sets the keepInventory gamerule on a world the first time it loads, so players keep their items after dying.
What it does
The mod is a very small datapack. When a world loads for the first time it turns on the keepInventory gamerule, and it records a hidden scoreboard value so the gamerule is not switched on again later in that same world. Server owners who want the rule set automatically without editing game settings by hand can use it. The server has to run it, while players may leave it out. Files are published for Fabric, Forge, NeoForge and Quilt, and as a data pack, across 45 release versions 1.13 – 1.21.10, under the CC0 1.0 Universal license, which is not open source.
Key features
Automatic gamerule
keepInventory is turned on the first time a world loads, with no command needed.
One-time setup
A hidden scoreboard value marks the world, so the rule is not enabled again after it has been set.
Datapack based
The logic is a small data pack, so it adds no blocks, items or menus to the game.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x3 of 3 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Keep Inventory Always is server-side in function and covers 1.13 – 26.3 on the same four loaders, under the MIT License and not open source. Better Keepinventory is open source under the MIT License, but its environment is client and server and it targets Fabric and Quilt for 1.17.1 – 1.21.4.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Auto keep inventory | Fabric, Forge, NeoForge and Quilt | 1.13 – 1.21.10 | Server required, client optional | 2025-10-24 |
| Keep Inventory Always | Fabric, Forge, NeoForge and Quilt | 1.13 – 26.3 | Server required, client optional | 2026-08-14 |
| Better Keepinventory | Fabric and Quilt | 1.17.1 – 1.21.4 | Client and server | 2024-12-27 |
Questions
Does Auto keep inventory need to be installed on the client?
In the catalog
Auto keep inventory is one of 19,031 Adventure mods on ModsFinder, and one of 10,052 Adventure mods for Fabric. 15,569 mods support Minecraft 1.21.10.
More from UltraGamer135
Similar mods
What the author says
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.
Official listing
- Modrinth page
- modrinth.com/mod/auto-keepinventory
- Owner
- UltraGamer135
- Published
- 2025-10-21
- Updated on Modrinth
- 2025-10-24
- Facts verified
- 2026-10-15
