Keep Random Items
by 3geE
Keep Random Items is a server-side game mechanics mod that deletes a few random inventory slots from a player's inventory on death.
What it does
On death, the mod clears between three and eight randomly chosen inventory slots, and every item stack in a selected slot is lost. Keep Random Items is published for Fabric, Forge, NeoForge and Quilt, and a datapack form is also available for server platforms.
Only the server needs the mod, since it runs the death logic, while players may add it without changing how it behaves. Files cover game versions 1.16 – 26.3, and the latest build for each loader is 1.1 for 26.3, published on 2026-03-17 after a first release on 2026-03-14. The code is all rights reserved and is not open source.
Setup involves placing the world's datapacks folder, then running reload after joining the world. External resource packs are needed for the setup, and the mod is meant for Minecraft Java Edition 1.21.5 and later.
Key features
Random inventory loss
On death, three to eight random inventory slots are cleared, with every item stack in those slots lost.
Slot-based selection
The count applies to inventory slots rather than individual items, so one selected slot can remove a whole stack.
Datapack option
A datapack version is available for server platforms, placed in the world's datapacks folder.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Survival challenge servers
Server owners who want death to carry a random cost can run the mod so every player's inventory is affected.
Modpack difficulty
Modpack authors can add the mod to raise the stakes of dying without changing other systems.
Who it’s for: Server owners running Minecraft Java Edition 1.21.5 or later who want random item loss on death. Players join without installing the mod, because it is server required with the client optional.
Questions
Does Keep Random Items need to be installed on the client?
Which loaders does Keep Random Items support?
How is the datapack version set up?
In the catalog
Keep Random Items is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 8,071 mods support Minecraft 26.3.
More from 3geE
Similar mods
What the author says
Keep Random Items datapack/mod deletes random items when you die. Keep Random Items removes items from 3 to 8 random inventory slots when you die.
Official listing
- Modrinth page
- modrinth.com/mod/keep-random-items
- Owner
- 3geE
- Published
- 2026-03-14
- Updated on Modrinth
- 2026-03-17
- Facts verified
- 2026-10-15
