mojira.dev
MC-108801

/locate command returns offset or incorrect mineshaft locations

The bug

The /locate command sometimes returns wrong or offset coordinates for mineshafts.

Steps to reproduce

  1. Create a Default world with the following seed

    -2310970283287424513
  2. Switch to Spectator mode to be able to look for mineshafts more easily

  3. Use the /locate command to find a mineshaft

    /locate Mineshaft

    → It should print "Located Mineshaft at -472 (y?) 1032"

  4. Use the /tp command to get to the returned position

    /tp -472 35 1032
  5. Search for the mineshaft
    → There is no mineshaft nearby

Linked issues

Attachments

Comments 56

Is this an older world or was it created in this snapshot?

Created in 16w41a

I also created a different one in 16w40a and tested that one. Similar problem.

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

*Any news? And can somebody confirm this bug*

46 more comments
SwirlyLightning

Less reproducible in 1.13[than 1.12]

But still not 100%

  1. Sometimes now off by 1 block to exactly what it says

  2. 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. 

  3. And some in a world might work some might not - so seems to be some sort of registry error may be???

 

SwirlyLightning

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

 

SwirlyLightning

Can somebody fix the incorrect link

Thanks

 

Cannot reproduce in 20w07a. All seeds in the description and comments work correctly.

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.

CDES4

No User

(Unassigned)

Confirmed

(Unassigned)

/locate, command, location, mineshaft, offset, world

Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, ..., Minecraft 17w06a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.2, Minecraft 1.13

Retrieved