CurseForge · Minecraft mod
Keep Inventory
Enforces keepInventory gamerule to always be true. Never lose your items on death!
Quick answer
Which Keep Inventory release matches 1.18?
Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18) targets 1.18 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Keep Inventory required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18) need?
Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18) on 1.18. 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 — Keep Inventory 1.0.0 (fabric 1.18) on 1.18. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18). It targets 1.18 with Fabric; 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
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18). It opens that exact file at the source.
About this project
What does Keep Inventory add?
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 CurseForge.
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
1 loader build26.1
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
2 loader buildsShowing the newest 12 of 33 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
Keep Inventory — Keep Inventory 1.0.0 (fabric 1.18)
1785716992511-keepinventory-1.0.0.jar
3 Aug 2026
Keep Inventory — Keep Inventory 1.0.0 (forge 1.18)
1785716981127-keepinventory-1.0.0.jar
3 Aug 2026
Looking for an older file? The official CurseForge project page is in Resources.