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
Set a Single Block
Place one block at a specific spot
Clear an Area (Fill With Air)
Delete a region of blocks by filling it with air
Fill a Hollow Box (Build a Room)
Create a hollow room or box out of any block
Fill an Area with Water
Create a pool or lake by filling a region with water
Replace One Block Type with Another
Swap every block of one type for another in a region
Place a Chest
Instantly place a chest at a specific location