mojira.dev
MC-178842

/locate leads to non-existent Ruined Portals in Overworld

The bug

When using /locate ruined_portal in the Overworld it sometimes leads to locations where no Ruined Portals are.

Reproduction steps

  1. Use one of example seeds and coordinates provided below

  2. Switch to Spectator mode

  3. Give yourself Night Vision

  4. Fly through the ground (possibly also remove some blocks using /fill ... replace) and search for the Ruined Portal
    ❌ There is no Ruined Portal nearby

Example seeds and coordinates

Note: Due to world generation changes a ruined portal could generate at one of these positions. Make sure to check the other examples in this case and possibly also try locating Ruined Portals in a world with a random seed.

Seed: 356317745171599556

/execute in minecraft:overworld run tp @s -1119.50 101.74 -287.50 275.40 85.65
/locate ruined_portal

Seed: 5488762045858212

/execute in minecraft:overworld run tp @s -384 ~ -1584
/locate ruined_portal

Linked issues

Attachments

Comments 24

Could you please provide the seed and coordinates?

When I tried to use /locate on the new structures it worked fine but it teleported me around 50+ blocks away from the structure. I suggest you try to find it in spectator mode.

This does not involve using a portal or anything though:

Seed: 801626302320119608

/tp @s 144 ~ 19296
/locate Ruined_Portal

I would like to add to the above...

As a side note - between this ticket.... and this ticket: MC-179029 

I could not find any other tickets related to a "missing ruined portal" using the /locate command. So posted on this one because I'm talking about 20w17a - newer, and because the map is newly generated, not "updated" from a previous map.

 

I can absolutely find no portal in the seed I am testing in 😞  (20w17a - newly created world in this snapshot)

NOTE: I have found other ruined_portals fine, missing portals is a rare but legitimate occurrence - from what I can tell 😉

seed: 681766937004248

coords:

/execute in minecraft:overworld run tp @s 1472.50 -1.16 -335.50 -180.60 -89.70

This view (must be spectator) is looking straight up in a warm ocean from level 0 @ bedrock, no ruined portal, nothing 😞 ... I've tried looking a few blocks away, still nothing. the command "/locate Ruined_Portal" produces this:

[CHAT] The nearest Ruined_Portal is at [1472, ~, -336] (0 blocks away)

 

Of course to add to the investigation, please see attached screenshots.

1st screenshot – spectator view using night_vision and the above /execute command on the seed.... No portal visible (even 'buried' portal - because you would see the chest or or lava in the majority of cases. Albeit, lava turns to magma under oceans, and chests occasionally don't spawn, so that's what the next screenshot is for :'P ).

2nd screenshot — full excavation. I used the /fill command to replace blocks (stone/andesite/gravel/dirt/granite/diorite/all-variants-coral-block/seagrass/sand/water). .... with AIR. Also built a glass wall around so that the water does not keep flowing and obstruct the view.

 

For screenshot 2... I then /tp to the presumed location of the ruined portal manually (/tp 1472 ~ -336), use the same /locate command ... and see the response:

[CHAT] The nearest Ruined_Portal is at [1472, ~, -336] (0 blocks away)

 

But looking down from above the ocean in the sky... missing netherrack is the first indication of a problem – no ruined portal is found 😞

 

Sorry for such a long post - thought it better to give too much, than too little information.

It would appear the problem is more frequent than I initially though 😞

Quite close to spawn chunks.

 

Different world seed : 356317745171599556

/execute in minecraft:overworld run tp @s -1119.50 101.74 -287.50 275.40 85.65

Missing a portal... used /tp to get there... ran "/locate Ruined_Portal" gives:

[CHAT] The nearest Ruined_Portal is at [-1120, ~, -288] (0 blocks away)

Picture attached (3) .... manual "fill" action to replace specific blocks with AIR... one block type at a time – NOTE: It isn't lined up with chunk borders.

All terracotta types... all ores (iron/gold/coal/redstone)... all stone-types (stone/diorite/andesite/granite)... all dirt, gravel, and water.... 

My /tp places me roughly in the center of the filled cavity....  no Ruined Portal or associated blocks.

 

14 more comments

Relates to [MCPE-70691]

Can confirm in 1.17 Release Candidate 1.

Can confirm in 1.17.

I couldn't reproduce this in 1.19.4. For the first seed, the portal is partially overriden by an ocean ruin but the ruined portal still generates. I tried some random seeds and couldn't find any instances where the portal generates farther than a chunk away from the /locate coordinates.

Is this still an issue for anyone in the latest snapshot? We were unable to reproduce it.

Lucian Rectanus

(Unassigned)

Confirmed

Platform

Normal

Commands, Structures, World generation

20w16a, 20w17a, 20w21a, 20w22a, 1.16 Pre-release 1, ..., 1.16.4, 20w49a, 1.16.5, 21w14a, 1.17

Retrieved