Lodestone

A lodestone is a block that can be used to alter compasses to point towards it. It can be used in all three dimensions.

Breaking
Lodestone requires a pickaxe to be mined, in which case it drops itself. If mined without a pickaxe, then the mining is slower and it drops nothing.

Lodestone Compass
a compass on a lodestone causes the compass to point to the lodestone, indicated by an enchantment glint effect on the compass, or a unique cyan glint. This works even in the End and the Nether. If the lodestone is broken, or in a different dimension than the compass, then the compass spins randomly, as ordinary compasses in the End and Nether do. If the lodestone is destroyed while a paired compass is in a chest, shulker box, item frame, armor stand, or any other storage item, the compass does not register that the lodestone is destroyed until the item is retrieved. Placing a lodestone back in the exact place as the original lodestone while the compass is still in a container prevents unpairing.

Piston interactivity
Lodestones cannot be pushed by pistons. They also cannot be pushed or pulled by sticky pistons.

ID




Trivia

 * In reality, the lodestone is a naturally magnetized piece of the mineral magnetite, which can attract iron.
 * Despite being made from netherite, lodestones are not immune to fire and lava damage.
 * The advancement "Country Lode, Take Me Home" is a reference to the lyrics of a song called "Take Me Home, Country Roads" by John Denver.