
Keep On Chance (keepinventory)
I don't know my version or loader
Is player's item loss on death always a good award. For people that like survival experience and keepinventory this is a balance of both. With rolled chance an inventory can be prevented from being lost. This mod is designed for giving a more balanced and customizable death penalty without fully disabling item loss.

Q&A
Where can I run this mod?
>...You can run this mod on Server side only.
Does everyone need mod installed to join my Server?
>...No! Only dedicated server needs to have mod installed, other players can join without mod installed. This includes singleplayer worlds connected with LAN or Essentials etc. where only host needs mod installed.
Does it work with modded items?
>...Yes! It can work with any items, modded or vanilla.
Config "chance", "messages", "creative":
>...There is a config json file inside config/ called keepchance.json, it has default values set like this:
{"chance":0.41,"messages":true,"isCreativeModeIncluded":true}
"chance" will roll a chance to keep player's inventory on death, 0.41 means that it has 41% chance to succeed. It can go in ranges 0.01 - 1.0.
"messages" will display custom messages upon player's death if chance succeeds, only player that triggered event can see a message, no one else can. These messages can be enabled or disabled with true or false.
"isCreativeModeIncluded" tells if player is in creative mode and then decides if that player's inventory should have a chance to be kept. Configured with true to allow keepinventory chance and false to disallow.
What software was used for mod's creation
>...It was created in Eclipse IDE.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.6, 1.21, 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 KeepOnChance 1.20.6-1.21.4.jar — drop this file into the mods folder
- Download size: 37 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.