
Modrinth · Minecraft mod
Luna's Keep Inventory
A keep inventory mod/data-pack with customization in mind!
Quick answer
Which Luna's Keep Inventory release should I use?
Luna's Keep Inventory 1.3.2+mod targets 1.21.6, 1.21.7, 1.21.8 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Luna's Keep Inventory required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Luna's Keep Inventory 1.3.2+mod need?
1.3.2+mod. 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 Luna's Keep Inventory without breaking your instance.
Built for Luna's Keep Inventory 1.3.2+mod. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.3.2+mod. It targets 1.21.6, 1.21.7, 1.21.8 with Fabric, Forge, 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
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.3.2+mod. It opens that exact file at the source.
About this project
What does Luna's Keep Inventory add?
Keep Inventory is great and all, until you die on purpose to get back to your base. This datapack aims to fix that while still leaving keep inventory somewhat the same!
Summary
- Keep Important Items on death
- Keep 40% of other items
- Can change datapack with settings
- Can make add-ons to add functionality
How does it work
This datapack lets you keep your equipment (and some other items, see below) when you die, every other item has a (default) 40% chance to stay in your inventory. Experience is dropped on the ground to be picked up (default 66% of exp kept).
Items Kept
- Any enchantable item with durability
- Boats + Chest Boats
- Bows + Crossbows + Arrows (all types)
- Snowballs + Eggs + Wind Charges
- Firework Rockets
- Buckets (filled and unfilled)
- Leads + Saddles
- Compasses (recovery ones as well)
- Ender Pearls
Customizablity
There are 2 settings in the pack: Item Keep Chance (0-100) and Xp Keep Amount (0-3). These two settings can be changed with /dialog show @s lki:settings (added in 1.3) respectively (do note that the sliders show the default value and not the current one).
There is also an individual setting for more hardcore players (added in 1.2) this setting allows you to opt-out of the inventory part of the datapack (still stacks the items). This setting can be by going to the menu and selecting LKI Menu (added in 1.3).
More Details
- Item Keep Chance uses percentages
- Xp Keep Amount uses thirds
Customizablity for verisons before 1.3
ima just gonna copy-paste this:
There are 2 settings in the pack: Item Keep Chance (0-100) and Xp Keep Amount (0-3). These two settings can be changed with /function lki-settings:item_lose_chance {setting:<VALUE>} and /function lki-settings:xp_keep_amount {setting:<VALUE>} respectively.
There is also an individual setting for more hardcore players (added in 1.2) this setting allows you to opt-out of the inventory part of the datapack (still stacks the items). This setting can be changed with the /trigger lki:opt_out and /trigger lki:opt_in commands (can be ran by any player).
Add-Ons
You can make add-ons for this datapack you can do so by using the drop_searches and keep tags!
One pre-made add-on is Keep Modded Inventory which adds support for some mods!
Tag/Function Info
lki\tags\function\drop_searches.jsonis ran when a player dies as that player to check for drop-able items.lki\tags\item\keep.jsonis for every kept item (and kept tag), you can add more items and modded items there.lki:drop_item {slot:<SLOT>}is used to drop an item and apply the random chance mechanic.- Look in the datapack for more info!
Project description from Modrinth.
Pick your setup
Luna's Keep Inventory by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.8
5 loader builds1.21.7
5 loader builds1.21.6
5 loader builds1.21.5
5 loader builds1.21.4
5 loader builds1.21.3
5 loader builds1.21.2
5 loader builds1.21.1
5 loader builds1.21
5 loader builds1.20.6
5 loader builds1.20.5
5 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Luna's Keep Inventory versions and loaders
1.3.2+mod
lunas-keep-inventory-1.3.2.jar
3 Oct 2025
1.3.2
LunasKeepInventory.zip
3 Oct 2025
1.3.1.1+mod
lunas-keep-inventory-1.3.1.jar
23 Sept 2025
1.3.1+mod
lunas-keep-inventory-1.3.1.jar
2 Jul 2025
1.3.1
LunasKeepInventory.zip
2 Jul 2025
1.3+mod
lunas-keep-inventory-1.3.jar
24 Jun 2025
1.3
LunasKeepInventory.zip
24 Jun 2025
1.2+mod
lunas-keep-inventory-1.2.jar
2 May 2025
1.2
LunasKeepInventory.zip
2 May 2025
1.1.1+mod
lunas-keep-inventory-1.1.1.jar
3 Apr 2025
1.1.1
LunasKeepInventory.zip
3 Apr 2025
1.1+mod
lunas-keep-inventory-1.1.jar
3 Apr 2025
Looking for an older file? The official Modrinth project page is in Resources.