In Java Edition, all strongholds are located at random coordinates within rings in all biomes, where each ring is a certain radius from the center of the world.
Once the player enters the End, the only way back is to die or defeat the ender dragon. The dragon spawns naturally and flies around above ten towers of.
Compasses simply draw two lines over the item sprite to form the needle. Much like clocks, the code responsible for moving the needle is also present with the ".