Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
1.20.1ā1.20.6
1.19.x
1.18.x
1.17.x
1.16.5
1.12.2
1.12
1.8.9
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Published 7 months ago
Updated 7 months ago
š¬ 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!



