Source-checkedQuality of life & UI

Smart Keep Inventory

by flemmli97 · for Minecraft

Configure when keep inventory should be enabled

1.3KDownloads
47d agoLast updated
MITLicense
Fabric · NeoForgeLoaders

About Smart Keep Inventory

From Modrinth

Configure when keep inventory should be enabled

neoforge fabric

discord-singular kofi-singular-alt patreon-singular

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 data

Game 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

LoaderGame versionsNewest
NeoForge26.2 to 26.3 (2 versions)26.3
Fabric26.326.3

From 5 recorded builds of Smart Keep Inventory.

Recent builds

BuildReleasedGame versionsLoaders
26.3-1.1.0-fabric2026-09-1826.3Fabric
26.3-1.1.0-neoforge2026-09-1826.3NeoForge
26.3-1.1.0-neoforge2026-09-1726.3NeoForge
26.3-1.1.0-fabric2026-09-1726.3Fabric
26.2-1.1.0-neoforge2026-08-2126.2NeoForge

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 catalog
Listed on Modrinth as “Mods”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

Modrinth 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

Smart Keep Inventory, answered

Generated from the mod’s own source data.

Do my players need to install Smart Keep Inventory?

Modrinth lists Smart Keep Inventory as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric and NeoForge.

Is it free?

Yes. Smart Keep Inventory is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Smart Keep Inventory on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Smart Keep Inventory in one click.