HomeJavaDatapacksLuna's Keep Inventory
Luna's Keep Inventory
DatapacksJava

Luna's Keep Inventory

by E8zEbo8Luna · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.6–1.21.9 · Data pack⬇ Download for 1.21.5 · Data pack⬇ Download for 1.21.2–1.21.4 · Data pack⬇ Download for 1.21.6–1.21.9 · Fabric⬇ Download for 1.21.5 · Fabric⬇ Download for 1.21.2–1.21.4 · Fabric⬇ Download for 1.21.6–1.21.9 · Forge⬇ Download for 1.21.5 · Forge⬇ Download for 1.21.2–1.21.4 · Forge⬇ Download for 1.21.6–1.21.9 · NeoForge⬇ Download for 1.21.5 · NeoForge⬇ Download for 1.21.2–1.21.4 · NeoForge⬇ Download for 1.21.6–1.21.9 · Quilt⬇ Download for 1.21.5 · Quilt⬇ Download for 1.21.2–1.21.4 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Luna's Keep Inventory — screenshot 1Luna's Keep Inventory — screenshot 2

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

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

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 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
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more