PartialKeepInventory
by Millzy
PartialKeepInventory lets a server keep chosen groups of items on death instead of the whole inventory, as a modular alternative to keepInventory.
What it does
Each category of equipment can be kept separately: armor slots, the offhand, the hotbar, tools and weapons, and experience levels. Individual items can also be added to a list so they stay with the player when it matters most. Features are turned on one at a time with commands, and the features command shows which ones are active. With nothing set up, dying behaves as it does with keepInventory disabled.
The mod runs on the server alone, so players join without installing it, and it requires Fabric API. Files exist for 1.21.7 and 1.21.8, with 2.0.1+1.21.8 for 1.21.8 as the latest build, published on 2025-07-24. The code is open source under the MIT License, and the source and issue tracker are public.
Key features
Modular keep rules
Armor, equippables, the offhand and the hotbar are each a separate rule that can be switched on or off.
Tool and weapon keeping
Items carrying a tool component, such as pickaxes, shovels and weapons, can be kept through death.
Experience and custom lists
Experience levels can be kept, and a custom list lets specific items stay regardless of their slot.
Rarity-aware item lists
Items can be added to the item list by command, and their name colour shows the rarity: purple, blue, yellow or white.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Keeping gear without a full keepInventory
A server can keep tools, armor and the hotbar on death while leaving the rest of the inventory to drop.
Who it’s for: Server owners who want to control exactly which parts of a player's inventory survive death, rather than all or nothing.
How it compares
Balanced KeepInventory is server-side only and covers 1.21 – 26.3 under All rights reserved, so it is not open source. More Offhand is client-side only, licensed under the MIT License, and covers 1.21 – 1.21.11, so it does not change death behavior on a server. hotbarLock is client-side only, released under the GNU Lesser General Public License v3.0 only, and built for 1.21.11, so it targets a different version.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| PartialKeepInventory | Fabric | 1.21.7 – 1.21.8 | Server-side only | 2025-07-24 |
| Balanced KeepInventory | Fabric | 1.21 – 26.3 | Server-side only | 2026-09-17 |
| More Offhand | Fabric | 1.21 – 1.21.11 | Client-side only | 2025-12-31 |
| hotbarLock | Fabric | 1.21.11 | Client-side only | 2026-03-28 |
Questions
Does PartialKeepInventory require Fabric API?
Do players need the mod installed?
Which versions does PartialKeepInventory support?
How are the keep features turned on?
In the catalog
PartialKeepInventory is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 17,695 mods support Minecraft 1.21.8.
More from Millzy
Similar mods
What the author says
PartialKeepInventory is a highly modular alternative to using keepInventory; you can keep specific groups of items, certain slots and even individual items from being dropped upon death, as opposed to your whole inventory and levels. Currently, nothing is set up and dying will behave as normal with keepInventory…
Official listing
- Modrinth page
- modrinth.com/mod/partialkeepinventory
- Owner
- Millzy
- Published
- 2025-07-18
- Updated on Modrinth
- 2025-07-24
- Facts verified
- 2026-10-15
