mojira.dev
MC-170953

Teleport command for /locate and /locatebiome findings does not include dimension

The bug

The /tp (teleport) command suggested for findings for /locate and /locatebiome does not include the dimension. This results in incorrect teleport commands when executing the command in a different dimension.

Expected would be that, like the the teleport command created by pressing F3 + C, the teleport command contains the dimension, e.g.:

/execute in minecraft:overworld run tp @s 4702.63 99.87 -3205.95 -350.70 49.20

How to reproduce

  1. In the Overworld use one of the following commands

    /execute in minecraft:the_nether run locate Fortress
    /execute in minecraft:the_nether run locatebiome minecraft:crimson_forest
  2. Click on the coordinates on the result message
    ❌ The teleport command is performed in the current dimension

Comments 2

Does /locate also affect 1.15.2?

Since the different dimensions dont share any biomes, it would be nice to have /execute in (world) run tp (coords).

marcono1234

(Unassigned)

Confirmed

Commands

/locate, /locatebiome

20w06a

Retrieved