About Smart Keep Inventory
From ModrinthConfigure when keep inventory should be enabled
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.
Highlights
From source dataGame versions
Supports 5 Minecraft versions, the newest being 26.3.
Loaders
Runs on Fabric and NeoForge.
Footprint
Rated a light load on a server.
Smart Keep Inventory on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Fabric, NeoForge
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 26.3-1.1.0-fabric, released 2026-09-18
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| NeoForge | 26.2 to 26.3 (2 versions) | 26.3 |
| Fabric | 26.3 | 26.3 |
From 5 recorded builds of Smart Keep Inventory.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 26.3-1.1.0-fabric | 2026-09-18 | 26.3 | Fabric |
| 26.3-1.1.0-neoforge | 2026-09-18 | 26.3 | NeoForge |
| 26.3-1.1.0-neoforge | 2026-09-17 | 26.3 | NeoForge |
| 26.3-1.1.0-fabric | 2026-09-17 | 26.3 | Fabric |
| 26.2-1.1.0-neoforge | 2026-08-21 | 26.2 | NeoForge |
Dependencies
- Required: modrinth project P7dR8mSH (modrinth, not in our catalogue)
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run Smart Keep Inventory on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportModrinth lists Smart Keep Inventory as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricNeoForge
- Runs on
- Serverrequired on the server
- Game versions
- 26.3 and 4 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-02Open ↗
- ✓Authorflemmli97, as published on Modrinth
- ✓LicenseMITFree











