The bug
The /locate
command sometimes returns wrong or offset coordinates for mineshafts.
Steps to reproduce
Create a Default world with the following seed
-2310970283287424513
Switch to Spectator mode to be able to look for mineshafts more easily
Use the
/locate
command to find a mineshaft/locate Mineshaft
→ It should print "Located Mineshaft at -472 (y?) 1032"
Use the
/tp
command to get to the returned position/tp -472 35 1032
Search for the mineshaft
→ There is no mineshaft nearby
Linked issues
relates to 2
Attachments
Comments 56
Just created another new world in 16w41a. Tried looking for mineshaft using /locate Mineshaft. I end up in the Ocean with nothing on the ocean floor suggesting a Mineshaft
Less reproducible in 1.13[than 1.12]
But still not 100%
Sometimes now off by 1 block to exactly what it says
And since it now gives ~ which is your current y coor it means that sometimes you are underground. You might aswell give them the Y coor for the surface of that point.
And some in a world might work some might not - so seems to be some sort of registry error may be???
Using seed in the description and coor given by /locate.
Once teleported there I die (in creative mode) due to being out of the world.
[media]
Relates to MC-131462
Linked to wrong one @Kumasasa
The more general version of this bug would be MC-138887, which is still reproducible as of 2 days ago. The same bug exists in Bedrock, documented at MCPE-45526, in which /locate fails to locate the nearest stronghold or monument.
Is this an older world or was it created in this snapshot?