To make a compass in Minecraft, you will need the following ingredients:
- One Redstone dust
- Four iron ingots
Once you have these ingredients, follow these steps:
- Open the crafting table: Right-click on the installed workbench to access the crafting menu, which has a 3×3 grid.
- Place the Redstone dust: Put the Redstone dust in the center of the 3×3 grid.
- Place the iron ingots: Surround the Redstone dust with iron ingots on each side. Specifically, place one iron ingot in the middle box of the first row, one iron ingot in the first and third boxes of the second row, and one iron ingot in the middle box of the third row[1].
After crafting the compass, it will always point in the direction of your world spawn, regardless of where you have set your spawn with a bed[2]. If you want to change where your compass points, you will need to craft a lodestone. Read how to make a lodestone compass in Minecraft and how to use a compass in Minecraft for more information.
You can also find compasses in naturally generated locations such as shipwreck chests, stronghold library chests, and village cartographer chests. Expert-level librarians have a chance to sell a compass for four emeralds[2].
Citations:
[1] https://www.digminecraft.com/tool_recipes/make_compass.php
[2] https://wiki.sportskeeda.com/minecraft/compass