Place a Lodestone
Place a lodestone to bind compasses to
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Places a lodestone at your feet. Right-click it with a compass to bind the compass, which then points at the lodestone from anywhere in that dimension — even the Nether, where normal compasses just spin.
/setblock ~ ~ ~ lodestone25 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Stand where the lodestone should go.
- Paste the command and press Enter.
- Right-click it with a compass to create a lodestone compass.
Related commands
Delete a region of blocks by filling it with air
/fill ~ ~ ~ ~10 ~10 ~10 airCreate a hollow room or box out of any block
/fill ~ ~ ~ ~10 ~6 ~10 stone hollowCreate a pool or lake by filling a region with water
/fill ~ ~ ~ ~10 ~ ~10 waterSwap every block of one type for another in a region
/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirt