
Modrinth · Minecraft mod
Partial-Keep-Inventory
A softer alternative to keepInventory
Quick answer
Which Partial-Keep-Inventory release matches 26.1?
Partial-Keep-Inventory 1.1.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. 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 Partial-Keep-Inventory required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Partial-Keep-Inventory 1.1.1 need?
1.1.1 on 26.1. 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 Partial-Keep-Inventory without breaking your instance.
Built for Partial-Keep-Inventory 1.1.1 on 26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.1. It targets 26.1, 26.1.1, 26.1.2 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.
About this project
What does Partial-Keep-Inventory add?
Partial Keep Inventory
Partial Keep Inventory introduces a softer alternative to /gamerule keepInventory for Fabric 1.21.1. Instead of keeping everything or dropping everything, it selectively protects valuable items while still punishing deaths.
Core Features
Selective item keeping
Keeps all shulker boxes (any colour).
Keeps all non-stackable items – tools, weapons, armour, elytra, etc. (anything with max stack size 1).
Keeps extra container-like items such as ender chests and bundles (and anything else you add to the whitelist in partialkeepinv.json).
All other items (blocks, food, stackables) drop normally on death.
Inventory position preserved
Kept items are restored to their original inventory slots (hotbar and main inventory).
Off-hand item is restored to the off-hand slot when possible.
If a slot is already occupied, the item is added to the inventory or dropped at the player's feet if there's no space.
Armour handling
Armour is kept and re-equipped automatically on respawn.
Each death applies extra durability damage to each worn armour piece (default ~3% of max durability, configurable).
Items won't be destroyed by the death penalty — at least 1 durability is always preserved.
XP penalty
On every death the player loses a configurable number of XP levels (default 1–5, never below level 0).
No XP orbs are dropped.
Configuration
keep.shulkers, keep.nonStackableItems, keep.containers – toggle what types of items are protected.
containers.materialWhitelist – list extra items to always keep (default: minecraft:ender_chest, minecraft:bundle).
xpLoss.enabled, xpLoss.minLevels, xpLoss.maxLevels – control how many levels are lost on death.
armorDamage.enabled, armorDamage.percent – control armour durability loss per death.
Requirements
Fabric Loader 0.18+
Fabric API
Java 21+
Make sure in each relevant world:
/gamerule keepInventory false
Project description from Modrinth.
Pick your setup
Partial-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.11
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Partial-Keep-Inventory versions and loaders
1.1.1
partial_keep_inventory-1.1.1.jar
11 Apr 2026
1.1.0
partial_keep_inventory-1.1.0.jar
7 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.