Compasses are an item used to point to the world spawn.

Obtaining [ edit ]

Crafting [ edit ]

Natural generation [ edit ]

Item Structure Container Quantity Chance Java Edition Compass Shipwreck Map chest 1 7.7% Stronghold Library chest 1 10.9% Village Cartographer's chest 1 26.3% Bedrock Edition Compass Shipwreck Map chest 1 7.7% Stronghold Library chest 1 10.5% Village Cartographer's chest 1 26.3%

Trading [ edit ]

In Java Edition, expert-level librarian villagers have a 50% chance to sell a single compass for 4 emeralds.

In Bedrock Edition, expert-level librarian villagers have a 1⁄ 3 chance to sell a single compass for 4 emeralds.

Usage [ edit ]

Normally, the compass' needle points toward the world spawn point; more specifically, it always points toward the northwest corner of the block whose coordinates are set as the world spawn. The compass points to spawn when viewed in any way, including as a dropped item, in a player's hand, in an inventory or the crafting table, or in an item frame. The direction the needle points is relative to the player who is viewing it.

In the Nether or the End, the compass' needle spins and points in random directions.

The compass can be used on a lodestone, after which it points to that lodestone as long as the compass is in that dimension. If the compass is taken to a different dimension, it spins randomly. If the lodestone is destroyed, it also spins randomly even if the lodestone is replaced afterward.

Crafting ingredient [ edit ]

Anvil usage [ edit ]

Name Ingredients Anvil usage Description Locator Map Map +

Compass Repair & Name Map





Bedrock Edition only. Maps crafted with only paper do not show the location marker; to add it, a compass must be added to the map.

Trading [ edit ]

A single compass can be sold to a journeyman-level cartographer villager for 1 emerald.‌[Java Edition only]

A single compass can be sold to an expert-level cartographer villager for 1 emerald as their sixth trade.‌[Bedrock Edition only]

A compass is also part of the cost of explorer maps:

An ocean explorer map and‌[ JE only ]/or‌[ BE only ] a woodland explorer map can be bought from a journeyman-level cartographer for 12 emeralds and one compass, as part of their fifth trade.‌[ Bedrock Edition only ]

In Java Edition, apprentice-level Cartographer villagers offer to sell an ocean explorer map for 13 emeralds and a compass, and journeyman-level Cartographer villagers offer to sell a woodland explorer map for 14 emeralds and one compass.

Enchantments [ edit ]

A compass can receive the Curse of Vanishing enchantment, but only through an anvil.

Data values [ edit ]

ID [ edit ]

Java Edition:

Name Namespaced ID Translation key Compass compass item.minecraft.compass

item.minecraft.lodestone_compass

Bedrock Edition:

Name Namespaced ID Numeric ID Translation key Compass compass 345 item.compass.name Lodestone Compass lodestonecompass 741 item.lodestonecompass.name

Item data [ edit ]

tag : The item's tag tag. LodestoneTracked: Optional. 1 or 0 (true/false) - true if the compass is connected to a lodestone. When false, LodestoneDimension and LodestonePos is not automatically removed when the lodestone is destroyed, but the compass still points to that location. LodestoneDimension: Optional. The dimension of the lodestone to which the compass is pointing. LodestonePos: Optional. The coordinates of the lodestone to which the compass is pointing. X: x coordinate Y: y coordinate Z: z coordinate



Advancements [ edit ]

Icon Advancement In-game description Parent Actual requirements (if different) Namespaced ID Country Lode, Take Me Home

Use a compass on Lodestone Hidden in the Depths Have a lodestone compass in your inventory.[ verify ] nether/use_lodestone

History [ edit ]

Issues [ edit ]

Issues relating to "Compass" are maintained on the bug tracker. Report issues there.

Trivia [ edit ]

Using /setworldspawn to change the world spawn also changes where the compass points.

to change the world spawn also changes where the compass points. The Lodestone Compass changes to a greenish-blue color in addition to receiving an enchantment glint.‌[ Bedrock Edition only ]

Gallery [ edit ]

Purchasing a compass from a librarian villager.

See also [ edit ]

References [ edit ]



