
Modrinth · Minecraft mod
Smart Keep Inventory
Configure when keep inventory should be enabled
Quick answer
Which Smart Keep Inventory release should I use?
Smart Keep Inventory 26.3-1.1.0-neoforge targets 26.3 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Smart Keep Inventory required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Smart Keep Inventory 26.3-1.1.0-neoforge need?
26.3-1.1.0-neoforge. Change the file and its required mods may change too.
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 Smart Keep Inventory without breaking your instance.
Built for Smart Keep Inventory 26.3-1.1.0-neoforge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 26.3-1.1.0-neoforge. It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 26.3-1.1.0-neoforge. It opens that exact file at the source.
About this project
What does Smart Keep Inventory add?
Smart Keep Inventory
In vanilla you can only either have keep inventory enabled all time or not.
Smart Keep Inventory allows you to decide under which conditions the players inventory should be kept upon death.
For example you can have it configured to only allow keep inventory if the player is killed by a specific mob.
By default this mod makes it so players will keep their inventory and experiences if they are killed by bosses (mobs tagged as c:bosses)
⚙️ Configuration
Configuration is done via a datapack.
Conditions are defined via a file under data/<namespace>/smart_keep_inventory/condition
and have the following format:
{
"player": <EntityPredicate>, // Optional. This is the player that died
"killer": <EntityPredicate>, // Optional. This entity that killed the player. Directly or indirectly
"damage": <DamageSourcePredicate>, // Optional. The damagesource that killed the player
"keepExperience": <true | false>, // Default true. Whether to also keep the players experiences or not
"disabled": <true | false> // Optional. Only used to disable an EXISTING condition with the same id
}
For more information about predicates check out the minecraft wiki under https://minecraft.wiki/w/Predicate
The mod also allows you to invert EntityPredicate. The syntax for that is as follow:
// Instead of just <EntityPredicate> wrap it like this
{
"invert":true,
"predicate": <EntityPredicate>
}
Example:
This allows the player to keep their inventories if they are killed by a zombie but not their xp.
{
"killer": {
"type": "minecraft:zombie"
},
"keepExperience": false
}
The following is the default configuration of the mod applying to bosses:
{
"killer": {
"type": "#c:bosses"
}
}
Compability
This mod should support any mod adding inventories (Curios, Accessory etc.) provided they respected the gamerule already.
Gravestone mods should also be supported if they already check the gamerule. If a player keeps their inventory a grave should not be generated in that case.
Project description from Modrinth.
Pick your setup
Smart Keep Inventory by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
2 loader builds26.1.2
2 loader builds1.21.11
2 loader builds1.21.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Smart Keep Inventory versions and loaders
26.3-1.1.0-neoforge
smart_keep_inventory-26.3-1.1.0-neoforge.jar
17 Sept 2026
26.3-1.1.0-fabric
smart_keep_inventory-26.3-1.1.0-fabric.jar
17 Sept 2026
26.2-1.1.0-neoforge
smart_keep_inventory-26.2-1.1.0-neoforge.jar
21 Aug 2026
26.2-1.1.0-fabric
smart_keep_inventory-26.2-1.1.0-fabric.jar
21 Aug 2026
26.1.2-1.1.0-fabric
smart_keep_inventory-26.1.2-1.1.0-fabric.jar
28 Jun 2026
26.1.2-1.1.0-neoforge
smart_keep_inventory-26.1.2-1.1.0-neoforge.jar
28 Jun 2026
1.21.1-1.1.0-fabric
smart_keep_inventory-1.21.1-1.1.0-fabric.jar
28 Jun 2026
1.21.1-1.1.0-neoforge
smart_keep_inventory-1.21.1-1.1.0-neoforge.jar
28 Jun 2026
26.1.2-1.0.1-fabric
smart_keep_inventory-26.1.2-1.0.1-fabric.jar
10 May 2026
26.1.2-1.0.1-neoforge
smart_keep_inventory-26.1.2-1.0.1-neoforge.jar
10 May 2026
1.21.11-1.0.1-fabric
smart_keep_inventory-1.21.11-1.0.1-fabric.jar
26 Jan 2026
1.21.11-1.0.1-neoforge
smart_keep_inventory-1.21.11-1.0.1-neoforge.jar
26 Jan 2026
Looking for an older file? The official Modrinth project page is in Resources.