
Modrinth · Minecraft mod
Keep Inventory
Enforces keepInventory gamerule to always be true. Never lose your items on death!
Quick answer
Which Keep Inventory release matches 26.1?
Keep Inventory 1.0.0 targets 26.1 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Keep Inventory required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Keep Inventory 1.0.0 need?
1.0.0 on 26.1. 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 Keep Inventory without breaking your instance.
Built for Keep Inventory 1.0.0 on 26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.0. It targets 26.1 with 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.
About this project
What does Keep Inventory add?
🎬 Support this mod — cheap AI video! ZSky AI — unlimited AI text-to-video & image generation. Free forever tier, or Pro $19/mo (~$15/mo billed yearly): no queue, 1080p, watermark-free, commercial use.
Keep Inventory
Never lose your items on death again! This mod automatically enforces the keepInventory gamerule to always be true, preventing any manual changes.
Features
- ✅ Auto-Enable - Sets
keepInventory=truewhen any world loads - ✅ Constant Enforcement - Checks every second to ensure it stays enabled
- ✅ Auto-Correction - If changed to false, automatically sets it back to true
How It Works
The mod uses two mechanisms to ensure keepInventory is always enabled:.
Periodic Check: Every second (20 ticks), verifies the gamerule is still true.
Auto-Fix: If it detects the gamerule was changed to false, it automatically corrects it back to true.
This means even if a player or admin tries to run /gamerule keepInventory false, the mod will change it back within 1 second!
Project description from Modrinth.
Pick your setup
Keep Inventory by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.1
2 loader builds26.1
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.9
3 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader buildsShowing the newest 12 of 35 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
Keep Inventory versions and loaders
1.0.0
keepinventory-1.0.0.jar
3 May 2026
1.0.0
keepinventory-1.0.0.jar
3 May 2026
Looking for an older file? The official Modrinth project page is in Resources.
