Configured Keep Inventory — Configurable Item Preservation
This server-side Fabric mod gives you complete control over your inventory contents after player death. You can configure exactly how many items will drop on the ground and which ones will remain with you.
Key Features
The modification provides:
- Adjustable item drop percentage on death — from 1% to 100%
- Ability to preserve specific items regardless of drop settings
- Functionality to protect renamed items through name checking
- Automatic hunger restoration if there's food in the inventory
- Totem activation from any inventory slot, not just hands
- Totem functionality in /kill situations and void falls
- Disabling of the Vanishing curse
- Disabling of the Binding curse
- Tracking of death locations and totem triggers (optional)
- Server command system and Mod Menu integration for single-player worlds
Command System
Use the /inventory command to interact with the mod:
set (number)— sets item drop percentage (1-100)on/off— enables or disables the modinfo— displays current settingsadd name (name)— adds a name to the protected names listadd item (item)— adds an item to the protected items listremove name (name)— removes a name from the listremove item (item)— removes an item from the listdisable vanishing— disables Vanishing cursedisable binding— disables Binding curseenable vanishing— enables Vanishing curseenable binding— enables Binding curse
Settings can also be edited directly through the inventory.json5 file in the Minecraft configuration folder.