
Modrinth · Minecraft mod
Auto keep inventory
Automatically enable keepInventory when loading a world for the first time
Quick answer
Which Auto keep inventory release matches 1.21.7?
Auto keep inventory 1.2+mod targets 1.13, 1.13.1, 1.13.2 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Auto keep inventory required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Auto keep inventory 1.2+mod need?
1.2+mod on 1.21.7. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Auto keep inventory without breaking your instance.
Built for Auto keep inventory 1.2+mod on 1.21.7. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.2+mod. It targets 1.13, 1.13.1, 1.13.2 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.2+mod. It opens that exact file at the source.
About this project
What does Auto keep inventory add?
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.
Project description from Modrinth.
Pick your setup
Auto keep inventory by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.9
5 loader builds1.21.8
5 loader builds1.21.7
5 loader builds1.21.6
5 loader builds1.21.5
5 loader builds1.21.4
5 loader builds1.21.3
5 loader builds1.21.2
5 loader builds1.21.1
5 loader builds1.21
5 loader builds1.20.6
5 loader buildsShowing the newest 12 of 45 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Auto keep inventory versions and loaders
1.2+mod
auto-keepinventory-1.2.jar
24 Oct 2025
1.2
keepInventory.zip
24 Oct 2025
Looking for an older file? The official Modrinth project page is in Resources.