nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Keep Inventory

Keep Inventory

Mod

Enforces keepInventory gamerule to always be true. Never lose your items on death!

Server Game MechanicsUtility

33 downloads
0 followers

Keep Inventory

Keep Inventory cover image

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=true when 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!

External resources


Project members

Itamio

Member


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID