keepinv:safekeep
Safekeep is an enchantment from the Nice Keep Inventory data pack that can be applied to Helmets, Chestplates, Leggings, and Boots. It allows players to retain items that would normally be lost on death at the cost of 33% durability from the equipped item.
The enchantment can be obtained from Loot Sources using the Enchanting Tables, Random Loot, Traded Books & Treasure tag lists.
If a player dies while wearing an item enchanted with Safekeep, any items that would normally be dropped on death remain in the player's inventory. In exchange, the enchanted item loses 33% of its max durability.
Deathlock cannot be combined with other enchantments from the Nice Keep Inventory data pack, including Safekeep and Gravehold. It is also incompatible with the vanilla Mending enchantment, as well as Sacrifice and Handyman from Enchantments Encore.