
PartialKeepInventory
Fully configurable and modular alternative to keepInventory.
About this Mod
PartialKeepInventory
Frustrated when you lose all your important stuff and suddenly your world/server grinds to a halt? Hate how consequence free keepInventory feels? PartialKeepInventory aims to find a "happy middleground" between the two.
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.
Usage
To start with, ensure that keepInventory is disabled and instead enabled the partialKeepInventory gamerule.

Enabling Features
Currently, nothing is set up and dying will behave as normal with keepInventory disabled. You need to enable "features" individually. For this example, we want to keep my tools and equipped armour when we die. So we enable the tools and equipment features, using the partialKeepInventory features add command.
You can also check what features are enabled using the partialKeepInventory features command.

The complete list of features is as follows:
equipment- Any items equipped in your armor slotsequippables- Any items that are able to be equipped in your amor slots.tools- Any items with a tool component, such as pickaxes and shovels (should also include weapons)hotbar- Any items that are in your hotbar.offhand- Any items in your offhand.epic/rare/common/uncommon- Any items with the respective rarity, indicated by name colour (purple/blue/yellow/white).experience- Experience and levelscustomList- Any items added to theitemListusing thepartialKeepInventory itemList addcommand.
Available Versions
How to Install PartialKeepInventory on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "PartialKeepInventory". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
PartialKeepInventory server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is PartialKeepInventory compatible with fabric?
PartialKeepInventory officially supports fabric for Minecraft 1.21.8, 1.21.7. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with PartialKeepInventory – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PartialKeepInventory consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install PartialKeepInventory with just one click on your server.