Download Luna's Keep Inventory — Minecraft Mods — MetaMods
Luna's Keep Inventory

Luna's Keep Inventory

Active

Downloads

0

Last update

3 weeks ago

Versions

1.20.5 — 1.21.8
Server
Fabric
Forge
Neoforge
Quilt
Adventure
Game mechanics
Utils

Luna's Keep Inventory

The keep inventory function is great, but sometimes it can be problematic when you intentionally die to quickly return to your base. This datapack solves this issue while preserving the main benefits of the inventory saving system!

Main Features

With this datapack, you keep your equipment and some other important items upon death, while other items have a chance to remain in your inventory (default 40%). Experience drops on the ground for later collection (default 66% experience kept).

What is Kept on Death

  • All enchanted items with durability
  • Boats and chest boats
  • Bows, crossbows, and all types of arrows
  • Snowballs, eggs, and wind charges
  • Fireworks
  • Buckets (empty and filled)
  • Leads and saddles
  • Compasses (including tracking ones)
  • Ender pearls

Settings

The datapack offers two main settings: item keep chance (0-100%) and experience keep amount (0-3 levels). These parameters can be changed using the command /dialog show @s lki:settings (available since version 1.3).

For players preferring more challenging gameplay, there is a separate option to disable inventory saving (added in version 1.2). This setting is activated through the "LKI Menu" (since version 1.3).

Add-ons

You can create your own add-ons for this datapack using the drop_searches and keep tags!

Technical Information

  • lki\tags\function\drop_searches.json - executed when a player dies to check for droppable items
  • lki\tags\item\keep.json - contains the list of kept items and tags
  • lki:drop_item {slot:} - used to drop an item with random chance application
Project members
E8zEbo8Luna

E8zEbo8Luna

Developer

Created: 2 Jan 2025

ID: 68361