Minecraft wiki entry for Dragon_Egg, associated text: In the case that egg teleportation finds an invalid location such as a negative y value, it makes an additional attempt to find a valid location, centered on the invalid location rather than the original position.