Compass command
minecraft:compassEnglish name Compass
Compass (minecraft:compass) can be stacked up to 64.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Compass
/give @p minecraft:compass
Give a stack (64)
/give @p minecraft:compass 64
Give all players
/give @a minecraft:compass
Gold Name
/give @p compass[custom_name={translate:"item.minecraft.compass",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
Clear all Compass from the player
/clear @p minecraft:compass
Check if holding Compass
/execute as @a if items entity @s weapon.mainhand minecraft:compass run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.compass"}]Basic Information
- Item ID
- minecraft:compass
- Max Stack Size
- 64
- Type
- Item
Enchantments for Compass
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.