ModsJava
Targeted Keep Inventory
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on CurseForgeThe author built this one for Minecraft 1.20.1 on Forge. On other versions it may install and then do nothing.
A simple mod that allows you to toggle keep inventory for individual players with the following command:
/keepinventory [username] [true/false]
This command is only accessible by operators in a multiplayer game, as /gamerule keepinventory [true/false] works just fine in singleplayer.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.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 CurseForge — 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.
File checked by MCModsHub
- Ships as targetedkeepinventory-1.0.0-forge-1.20.1.jar — drop this file into the mods folder
- Download size: 21 KB
- Download link checked 8 Nov 2026 — working
These come from our own check of the pack file, not from the source page.