Back to mods
KeepPercentOfInventory project artwork

CurseForge · Minecraft mod

KeepPercentOfInventory

Keeps a set percentage of inventory after death.

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

Quick answer

Which KeepPercentOfInventory release should I use?

Updated 2 months ago
Latest stable file save-percent-of-inventory-2.1.0 (2).jar
Game version 1.21.1
Loader Fabric

KeepPercentOfInventory save-percent-of-inventory-2.1.0 (2).jar targets 1.21.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is KeepPercentOfInventory required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

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

The source does not explicitly classify this release as client-only or server-only.

What else does KeepPercentOfInventory save-percent-of-inventory-2.1.0 (2).jar need?

save-percent-of-inventory-2.1.0 (2).jar. Change the file and its required mods may change too.

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 KeepPercentOfInventory without breaking your instance.

Built for KeepPercentOfInventory save-percent-of-inventory-2.1.0 (2).jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use save-percent-of-inventory-2.1.0 (2).jar. It targets 1.21.1 with Fabric; 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

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside save-percent-of-inventory-2.1.0 (2).jar. It opens that exact file at the source.

About this project

What does KeepPercentOfInventory add?

Save Percent of Inventory

Save Percent of Inventory is a lightweight server-side Fabric mod that changes the vanilla death penalty. Instead of dropping all items on the ground or keeping everything with keepInventory, this mod keeps a customizable percentage of your items directly in your inventory upon respawning, while the rest are permanently destroyed.

No more tedious corpse runs or picking up scattered items!

✨ Features

  • Customizable Retention: Choose exactly what percentage of item slots stay in the player's inventory after death.

  • No Item Drops: Unsaved items disappear permanently—they do not drop on the ground, so you don't have to walk back to your death location.

  • Server-Side Only: Players do not need to install this mod on their game clients to join your server.

  • Randomized Selection: Slot preservation is randomized on every death based on your configured percentage.

⚙️ Configuration

Upon the first launch, the mod generates a configuration file located at:

config/percent_keep_inventory.json

JSON

<button class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" aria-label="Скачать код"></button><button class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" aria-label="Скопировать код"></button>

{
  "keepPercentage": 70
}
  • 100 — Keeps 100% of filled item slots (similar to keepInventory, but without dropping anything).

  • 70 (Default) — Keeps ~70% of item slots and destroys the remaining ~30%.

  • 0 — Destroys all items upon death.

🛠️ Requirements

  • Minecraft: 1.20.1

  • Loader: Fabric Loader

  • Dependency: Fabric API

📥 Installation

  1. Install Fabric Loader and Fabric API on your server.

  2. Drop the save-percent-of-inventory-1.0.0.jar into your server's mods folder.

  3. Start the server, adjust the percentage in config/percent_keep_inventory.json if needed, and enjoy!

Project description from CurseForge.

Pick your setup

KeepPercentOfInventory by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

KeepPercentOfInventory versions and loaders

2 of 2 releases match

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