
Selective Keepinventory
This mod provides a flexible system for managing inventory retention upon death. By default, the item preservation feature is disabled for all players, maintaining Minecraft's classic gameplay experience.
However, you can individually configure this option for specific participants by assigning them a special 'KeepInventoryTrue' tag. Once a player receives this tag, their inventory stops dropping upon death.
Management commands:
Enable inventory preservation:
/tag [Player Name] add KeepInventoryTrue
Disable inventory preservation:
/tag [Player Name] remove KeepInventoryTrue
Note: Replace [Player Name] with the actual in-game username.
The mod is created using macros and requires Minecraft version 1.21 or higher. Compatibility with other versions is not guaranteed.