You can't craft a recovery compass in Bedrock, so the way to keep one through death is to spawn it in with cheats enabled and pair it with the keep-inventory rule. Type /give @s recovery_compass 1 with cheats on, then run /gamerule keepInventory true before you die. The compass stays in your inventory when you respawn. The catch: that gamerule protects every item you carry, and it only exists in worlds where cheats were activated at creation or via the world settings toggle.

Why the Recovery Compass Needs a Command in Bedrock Edition

The recovery compass sits in an odd spot in Bedrock. Java players can craft it; Bedrock players can't. That single fact is the reason every "keep it on death" guide for this item starts with a command rather than a recipe. If you go looking for a crafting grid pattern, you'll come up empty.

The item's whole purpose is recovery. It points toward your most recent death location, which is why players want to retain it after dying. A compass that gets deleted the moment you need it is useless. So the real problem isn't obtaining the compass—it's surviving your own death with it still in hand.

Bedrock treats the recovery compass as an item you can only pull from the creative inventory or via the /give command. That limitation is documented across the Minecraft Wiki's recovery compass page and confirmed by the Bedrock item registry. The compass has no recipe, no mob drop, and no trade. It appears in the creative inventory under the Tools tab alongside the standard compass.

Turning On Cheats Without Breaking Your World

Cheats are the gatekeeper here. Without them, /give and /gamerule do nothing. Bedrock gives you two routes: enable cheats when you first create the world, or flip them on later from the pause menu's Settings under Game.

World type Cheats toggle available Achievements affected Recovery compass route
New world, cheats ON at creation Yes, from start Achievements disabled Full command access
New world, cheats OFF at creation No, unless edited Achievements active No command access
Existing world, cheats ON later Yes, via Settings → Game Achievements disabled retroactively Full command access
Existing world, cheats OFF No Achievements active No command access
Realm, cheats ON Yes, owner-only Achievements disabled Full command access
Realm, cheats OFF No Achievements active No command access

On a Realm, only the owner can change the cheat setting, so coordinate before you assume the command will work. If you're a guest on someone else's Realm, you may be locked out entirely.

The trade-off is real. Enabling cheats permanently disables achievements for that world in Bedrock, and there's no way to re-enable them once cheats are on. If you're chasing achievements, this route costs you them for that save. Plan accordingly.

Spawning the Compass With the Exact Give Command

The command syntax is short. Open chat with the chat button or slash key, then type:

1: /give @s recovery_compass 1 — gives one recovery compass to yourself. 2: Press enter and confirm the compass appears in your inventory. 3: Verify it's in your hotbar or main inventory before continuing. 4: Optional: add a count like /give @s recovery_compass 5 for a stack.

The @s selector targets the player running the command. On Bedrock, /give accepts item IDs without the minecraft: namespace, but including it—/give @s minecraft:recovery_compass 1—also works and is safer if you're copying commands between editions.

If the command fails, the chat returns an error. Common causes: cheats are off, you typed recovery compass with a space, or you're not opped on a multiplayer server. On a server, you need operator status, which the server admin grants with /op username. A single-player world with cheats on always treats you as operator.

One quirk: the recovery compass only points to your death location after you've died at least once in that world. Spawn it before your first death and it spins uselessly. That's expected behavior, not a bug.

Locking It In With the Keep-Inventory Gamerule

The keepInventory gamerule is the mechanism that stops the compass from dropping. Run:

/gamerule keepInventory true

From that point, dying in that world leaves your entire inventory intact. You respawn with the compass, your armor, your tools, and everything else. The default value is false, which is why most players lose their gear on death unless they've changed it.

Bedrock's gamerule list is documented in the Minecraft Wiki's commands/gamerule page, and keepInventory has existed since early Bedrock builds. It works in single-player, multiplayer, and Realms, but only when cheats are enabled.

Here's the part that catches people: keepInventory protects everything, not just the compass. If you wanted a world where only the recovery compass survives death, Bedrock can't do that natively. There's no per-item keep rule and no inventory-slot exception. You either protect the whole inventory or nothing. Mods and behavior packs can approximate per-item rules, but vanilla Bedrock can't.

Check the current value any time with /gamerule keepInventory (no argument). The chat returns keepInventory = true or false. If it's false, your compass will drop on the next death.

What keepInventory Actually Changes on Death

Turning the rule on rewrites the death loop. Here's the before-and-after:

Scenario keepInventory false (default) keepInventory true
Recovery compass on death Drops at death location Stays in inventory
Enchanted diamond gear Drops, despawns after 5 minutes Stays equipped
Ender chest contents Unaffected (separate storage) Unaffected
XP levels Scattered as orbs Retained (Bedrock behavior)
Death message Shows coordinates in chat Shows coordinates in chat
Respawn location Bed or world spawn Bed or world spawn

The five-minute despawn window on dropped items is the reason the compass exists in the first place. Without keepInventory, you have five minutes of loaded-chunk time to sprint back and grab your stuff before it vanishes. The recovery compass helps you find the spot, but it can't extend that timer.

Bedrock's keepInventory also retains XP levels, which differs from some older Java behavior documentation. Confirm the exact behavior on your version by dying once in a test world with the rule on. The compass should still be in slot one when you respawn.

Playing Without Cheats: The Alternatives That Fall Short

Some players refuse to enable cheats because of the achievement lock. For them, Bedrock offers no clean way to keep a recovery compass. Here's what people try and why each option fails:

Crafting it: No recipe exists in Bedrock. The crafting table won't accept the ingredients. Trading for it: No villager sells it. Wandering traders don't stock it. Finding it in loot: Recovery compasses don't generate in structure chests in vanilla Bedrock. Keeping it in an ender chest: The ender chest survives death, but you can't access it until you respawn and walk to another ender chest—and the compass only works while held. Storing it in a shulker box in your inventory: The shulker drops with the rest of your inventory. No help.

The ender chest route deserves a closer look because it sounds clever. You place the compass in an ender chest before a risky trip, die, respawn, and retrieve it. But the compass only points to your death location while it's in your hand or hotbar. By the time you've walked to an ender chest to fetch it, you've already lost the time advantage. The compass becomes a souvenir, not a recovery tool.

If achievements matter more than the compass, accept that you'll play without it. If the compass matters more, enable cheats and lose the achievements for that world. Bedrock doesn't offer a middle path in vanilla.

Edge Cases That Break the Setup

A few situations undermine the whole plan, and the top guides rarely mention them.

The compass in a bundle. Bedrock's bundle item (added in later 1.21 builds) can hold a recovery compass, but on death with keepInventory off, the bundle drops and the compass inside drops with it. With keepInventory on, both stay. No difference in outcome, but worth knowing the compass doesn't get special treatment inside containers.

Dying in the End or Nether. KeepInventory works across dimensions. The compass survives, and it still points to the death coordinates in whichever dimension you died. But if you died in the Nether, the compass points to Nether coordinates, not overworld equivalents. Multiply X and Z by 8 to translate, or just read the death message.

Hardcore mode. Bedrock's hardcore mode (added in 1.21.30 for Bedrock) locks the world to one life. KeepInventory doesn't matter because you don't respawn. The compass is irrelevant in hardcore unless you're watching someone else's world.

Switching the gamerule mid-game. If you turn keepInventory off after relying on it, the next death drops everything including the compass. The setting is live, not sticky per-item. Check it before every risky expedition if you share the world with other players who might toggle it.

Multiplayer and Realm Coordination

On a shared world, the gamerule is global. One player toggling it affects everyone. That's fine if the group agrees, but it creates friction when one player wants survival stakes and another wants a safety net.

The workaround is a dedicated "compass world" or a separate Realm where cheats and keepInventory are on, used for exploration and boss fights. Keep your achievement-hunting world clean. Bedrock lets you run multiple worlds on the same device, and Realms can host separate slots.

For servers, only operators can run /gamerule. If you're not an op, ask the admin. On Bedrock Dedicated Server, ops are set in the permissions.json file, not via an in-game command. That's a different workflow from single-player and worth flagging to whoever manages the server.

Testing the Setup Before You Need It

Don't trust the setup until you've died once on purpose. Here's a safe test:

1: Spawn the compass with /give @s recovery_compass 1. 2: Confirm /gamerule keepInventory returns true. 3: Save your coordinates or note your base location. 4: Jump into lava or take fall damage in a safe spot near spawn. 5: Respawn and check your inventory.

If the compass is there, the setup works. If it's missing, the gamerule is off or cheats aren't active. The test costs you nothing but a few seconds and confirms the whole chain.

Run the test in a copy of your world if you're nervous. Bedrock's world duplication feature (available from the world settings menu) lets you clone a save and test without risking the original. That's the safest way to verify before a real expedition.

How the Bedrock Compass Compares Across Platforms

Bedrock runs on Windows, consoles, mobile, and Switch, and the command behavior is consistent across them with a few input differences.

Platform Chat access Command entry Achievement lock applies
Windows (Bedrock) T key or chat button Keyboard Yes
Xbox Chat via controller keyboard On-screen keyboard Yes
PlayStation Chat via controller keyboard On-screen keyboard Yes
Nintendo Switch Chat via controller keyboard On-screen keyboard Yes
iOS/Android Chat button Touch keyboard Yes
Bedrock Dedicated Server Console or in-game chat Keyboard Server-wide

The command syntax is identical everywhere. The friction is input—typing /gamerule keepInventory true on a controller takes a minute. On mobile, autocorrect can mangle the item ID, so type recovery_compass carefully or paste it.

Console players sometimes report that the chat doesn't open during certain menus. Close any open inventory or crafting screen first, then open chat. That resolves most "command won't work" complaints on consoles.

FAQ

Does the recovery compass work if I die in a different dimension?

Yes, but the coordinates are dimension-specific. If you die in the Nether, the compass points to Nether coordinates. You'll need to travel through a portal and navigate within the Nether to reach the spot. The compass doesn't convert coordinates across dimensions, so read the death message and translate manually if needed.

Can I keep only the recovery compass and drop everything else?

Not in vanilla Bedrock. The keepInventory gamerule is all-or-nothing. There's no per-item keep rule, no inventory-slot exception, and no command flag for selective retention. Behavior packs and mods can approximate it, but those require enabling experimental features and aren't part of the base game.

Why does my recovery compass spin instead of pointing somewhere?

It spins when there's no death location recorded. That happens if you've never died in that world, or if you've died and then retrieved your items (which clears the pointer in some builds). Die once in a test spot, respawn, and check the compass again. If it still spins, the world may have a corrupted death-location record.

Does keepInventory disable achievements permanently?

Enabling cheats disables achievements for that world permanently. There's no way to re-enable them in Bedrock once cheats are on. If achievements matter, keep your cheat-enabled compass world separate from your achievement world. World duplication lets you branch a save before committing.

Can I craft a recovery compass in Bedrock with the Java recipe?

No. The Java recipe—four echo shards and one compass—doesn't work in Bedrock because the recovery compass isn't a craftable item in Bedrock's recipe registry. The crafting table will reject the ingredients. Use /give instead. This is a documented edition difference, not a bug.

What happens to the compass if I die in hardcore mode?

Hardcore mode in Bedrock locks the world to a single life, so you don't respawn. The compass is irrelevant because there's no recovery phase. If you're watching another player's hardcore world, the compass would still function for them while alive, but it can't help after the final death.

Does the compass survive if I fall into the void?

With keepInventory on, yes—the compass stays in your inventory and you respawn normally. With it off, the compass drops into the void and is deleted, along with everything else. The void is the one death type where dropped items can't be recovered at all, which makes keepInventory especially valuable near the world's edge.