Craft a compass using 4 iron ingots and 1 redstone dust
Place 1 redstone dust in the center of the crafting grid
Place 1 iron ingot in each of the four slots directly above, below, left, and right of the center
Leave the remaining 4 corner slots empty
Drag the completed compass into your inventory
