Mulligan
Die. Keep your experience. Find everything else waiting in a chest.
When you die, you keep your levels and your XP bar, and everything you were carrying, including your Curios and Accessories slots, is placed in a double chest where you fell. No scattered item piles, no despawn timer, no lava swim for your gear.
What happens when you die
- Experience is kept. Levels, progress and total XP carry over to your respawned self. No XP orbs drop.
- Everything else goes in a double chest at your death position: main inventory, hotbar, armor, offhand, and every accessory slot, cosmetic slots included.
- You are told where it is. A chat message gives the coordinates, and clicking them copies them to your clipboard.
- The chest is named after you ("Steve's Belongings"), so it's easy to recognise on a shared server.
Accessories done properly
Many death-chest and grave mods handle the vanilla inventory and then forget accessories, or run before the accessory mod has finished and leave those items on the ground. Mulligan collects the final list of drops after Curios and Accessories have finished with them, so what lands in the chest is exactly what would have hit the ground.
- Curios and Accessories are both supported, with their cosmetic slots.
- Works when both are installed at once, and with the Accessories compatibility layer.
- Mods built on top of those two work too, because Mulligan never talks to them directly.
- Their rules still apply. Items an accessory mod keeps or destroys by its own rule stay kept or destroyed, and Curse of Vanishing items are still destroyed. Mulligan only moves what would have dropped.
- With the keepInventory gamerule on, Mulligan does nothing and vanilla rules apply.
Smart chest placement
- Picks the nearest open spot to where you died. It prefers a spot you can actually open (nothing solid on top) and not next to lava.
- Underwater deaths get a waterlogged chest. Deaths in the void place the chest inside the world.
- More than 54 stacks? Partial stacks are merged to save space, and if that isn't enough, extra double chests are placed alongside, up to a configurable limit.
- If nothing fits or no spot can be found, the leftovers drop normally, so nothing is ever deleted.
Configuration
mulligan-server.toml is created the first time you load a world or start a server (not at game startup). In singleplayer it is per world, in the world's serverconfig folder. On a dedicated server it is in the server's config folder.
| Option | Default | What it does |
|---|---|---|
keepExperience |
true | Keep XP on death |
chestOnDeath |
true | Put drops in a chest instead of on the ground |
nameChest |
true | Name the chest after the player |
announceLocation |
true | Tell the player where the chest is |
searchRadius |
6 (1 to 16) | How far from the death spot to look for room |
maxChests |
6 (1 to 32) | Most double chests per death. Anything beyond that drops normally |
Compatibility
- Minecraft 1.21.1, NeoForge
- Curios API and Accessories are optional. Install either, both, or neither.
- Tested with Curios 9.5.1 and Accessories 1.1.0-beta.53, together, with and without the Accessories compatibility layer.
- Any other mod that adds its items to the player's normal death drops is picked up too. Mods that spawn items some other way are not.
- No required dependencies.
Good to know
- Chests are not locked to the owner. On a shared server anyone can open them.
- A chest placed over the void has nothing under it, so you will need a way to reach it.
FAQ
Does it replace a grave mod? It does a similar job with plain vanilla chests: no new blocks, items or recipes.
Can I turn off the XP part? Yes, set keepExperience = false.
Will it duplicate my items? No. Items are moved from the drop list into the chest, never copied. Anything that cannot be stored is dropped normally.
Does it add anything to my world? Only the chest(s) when you die.