Minecraft wiki entry for Development_versions, associated text: Crafted from a netherite ingot and chiseled stone bricks.
Using a compass on one creates a lodestone compass, which points to that lodestone block.
Its functionality applies in all dimensions.