Keep Inventory
ModrinthEnforces keepInventory gamerule to always be true. Never lose your items on death!
1.8k downloads 2 followers updated 1mo ago
latest v1.0.0 Modrinth
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!
Versions
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.21.11
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.20.4
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.20.2
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: forge
Minecraft version: 26.1.2
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: forge
Minecraft version: 1.21.11
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 26.1.2
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 26.1.1
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 26.1
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.21.9
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.21.8
Built artifact:…
Release
1.0.0
Automated upload from ModCompiler GitHub Actions.
Mod: Keep Inventory
Mod version: 1.0.0
Loader: neoforge
Minecraft version: 1.21.7
Built artifact:…

Comments 0
No comments yet. Be the first to share your thoughts.