keepinvy
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthSmart Keep Inventory
This mod provides flexible control over whether the player loses their inventory upon death, depending on what exactly killed them.
By default, the player's inventory is almost always retained, but it is lost if they are killed by another player (PvP), crushed by a falling driplite/stalactite, or suffocated by blocks. Everything else—falling into lava, drowning, regular mobs, the void, etc.—retains the player's inventory.
Features
- 🗡 PvP — direct and indirect kills are configured separately (for example, if you were set on fire in battle and the player died from the fire a few seconds later, this also counts as PvP; the time window is configurable)
- 🪨 Sharpened Driplite / Stalactite
- 🧱 Suffocation in Blocks
- 🌌 Falling into the Void
- 🔥 Fire and Lava
- 🌊 Drowning
- 🍂 Falling from a Height
- 🍗 Hunger
- 💥 Explosions
- 🧟 Regular Mobs
- ❓ Any other causes of death
Each option can be enabled or disabled individually, according to your server's rules.
Settings
Opened directly in-game via the Mod Menu (requires the Cloth Config API) – a screen with switches; changes are applied instantly, without restarting the server. The mod also works without the Mod Menu/Cloth Config – just manually edit the settings in config/keepstuffmod.json.
Dependencies
- Fabric API (required)
- Mod Menu (optional, for the settings screen)
- Cloth Config API (optional, for the settings screen)
Version
Minecraft 1.21.1, Fabric, Java 21
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as keepstuffmod-1.0.0.jar — drop this file into the mods folder
- Download size: 12 KB
- Download link checked 2 Oct 2026 — working
These come from our own check of the pack file, not from the source page.