/locate and custom worlds
If you use /locate in a custom world with some structures disabled it still gives the location of the nonexistent structure.
Mod edit: Copied repro steps from MC-130441
Expected output:
'Could not find that structure nearby.' (or whatever the command says when it fails)
Returned output:
'The nearest <structure> is [coords].'
The bug
The /locate command returns coordinates of structures even in worlds when structure generation is disabled.
To recreate
- Create a new world where generate-structures=false.
- Use /locate <structure> and observe the output.
- Click the coordinates to travel there.
- There is no structure because structure generation is disabled.
- Command should output there is no structure nearby.
2016-10-01, 12:33 PM
2020-08-14, 09:18 PM
2019-09-11, 10:18 AM
13
9
/locate, customized-world, structure, world-generation
Minecraft 16w39b - Minecraft 18w43c
Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w42a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 17w45a, Minecraft 18w22a, Minecraft 1.13-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c
-