Back to mods
Keep Inventory project artwork

Modrinth · Minecraft mod

Keep Inventory

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Keep Inventory release matches 26.1.2?

Updated 6 months ago
Best match for your filters 1.0.0
Game version 26.1.2
Loader Forge

Keep Inventory 1.0.0 targets 26.1.2 with Forge. 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.

Client Not supported
Dedicated server Required
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Keep Inventory 1.0.0 need?

1.0.0 on 26.1.2. Every mod below is checked against that same setup.

No extra mods listed for this file

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.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 26.1.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 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?

Opencode Go sponsor banner

🎬 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=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!

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.

69 available setups

Showing 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

3 of 69 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.