Give a Compass
Get a compass pointing to world spawn
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Gives a compass that always points to the world spawn point. Pair it with a lodestone to make it point anywhere you choose instead — see the lodestone command. In the Nether it spins uselessly unless lodestone-bound.
/give @p compass16 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command and press Enter.
- Follow the needle to return to world spawn.
- Right-click a lodestone with it to bind it to that spot instead.
Related commands
Give Elytra
Get a pair of elytra wings
Give Diamond Sword Sharpness 5
Get a diamond sword pre-enchanted with Sharpness V
Give Enchanted Book: Mending
Get an enchanted book with Mending
Give Unbreakable Diamond Pickaxe
Get a pickaxe that never breaks
Give Totem of Undying
Get a totem that saves you from death
Give Netherite Sword Sharpness 5
Get a netherite sword pre-enchanted with Sharpness V