ModsFinder

Smart Keep Inventory

by flemmli97

Smart Keep Inventory lets server owners decide, through conditions, when a player keeps their inventory after dying, so that keep inventory applies only to chosen kills.

FabricNeoForgeServer-side onlyMIT LicenseOpen source1.21.1 – 26.3

What it does

Keep inventory in vanilla is either on or off for every death. This mod adds a condition layer on top of that setting: conditions are written as data files under data smart keep inventory/condition and checked when a player dies, so a death can keep items for some sources and not for others. Configuration is done entirely through a datapack, and the condition files follow a documented syntax in which an EntityPredicate can be inverted to exclude matches.

The default configuration makes players keep their inventory and experience when they are killed by bosses, meaning mobs tagged c:bosses. Another example in the author notes allows keeping inventory only when a player is killed by a specific mob, such as a zombie. Support for inventories from mods like Curios and Accessories is included, and it respects the gamerule that is already set. Graves from Gravestone are supported too, which lets the player keep their inventory when a grave is generated.

Key features

  1. Conditional keep inventory

    Keep inventory is decided per death by the conditions in a datapack, not by one global switch.

  2. Datapack configuration

    Conditions live in data files, so the rules ship inside a world or pack without a config screen.

  3. Killer-based rules

    Deaths can be filtered by the entity that caused them, for example keeping items only against a given mob.

  4. Curios and Gravestone support

    Items in Curios and Accessories slots are handled, and Gravestone graves are supported alongside the gamerule.

Compatibility

Latest build for each game version and loader.

26.326.3-1.1.0-fabric26.3-1.1.0-neoforge
26.226.2-1.1.0-fabric26.2-1.1.0-neoforge
26.1.226.1.2-1.1.0-fabric26.1.2-1.1.0-neoforge
1.21.111.21.11-1.0.1-fabric1.21.11-1.0.1-neoforge
1.21.11.21.1-1.1.0-fabric1.21.1-1.1.0-neoforge
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Server owners and pack makers who want keep inventory to depend on how the player died, rather than applying to every death.

How it compares

Full comparison

Keepsake is a client and server mod for Fabric and NeoForge across 1.21.1 – 26.2, under All rights reserved. Individual Keep Inventory (Updated) is server-side only, open source under the MIT License, and built for Fabric across 1.21.2 – 26.2. KIBNXP is a server-side only Fabric mod for 1.21.11 under the CC0 1.0 Universal license, and it is not open source.

ModLoadersGame versionsEnvironmentUpdated
Smart Keep InventoryFabric and NeoForge1.21.1 – 26.3Server-side only2026-09-18
KeepsakeFabric and NeoForge1.21.1 – 26.2Client and server2026-07-28
Individual Keep Inventory (Updated)Fabric1.21.2 – 26.2Server-side only2026-07-23
KIBNXPFabric1.21.11Server-side only2026-08-07

Questions

Does Smart Keep Inventory need Fabric API?

Yes. Fabric API is a required dependency on Fabric, and the mod is also published for NeoForge, which does not list it.

Does a player need the mod installed to keep their inventory?

No. Players join without it, since only the server has to run the mod.

Are Curios items kept on death?

Curios and Accessories inventories are supported and follow the existing gamerule, so they are kept under the same conditions as the main inventory.

Which version should a server use?

Files exist for 26.3, the latest release, with builds also covering 1.21.1, 1.21.11 and 26.1.2 and 26.2 in the game version list.

In the catalog

Smart Keep Inventory is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.

More from flemmli97

All projects

Similar mods

What the author says

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.
flemmli97, on the Modrinth page

Official listing

Owner
flemmli97
Published
2026-01-09
Updated on Modrinth
2026-09-18
Facts verified
2026-10-15

Tags