mojira.dev
MC-249771

Invalid structure reference in ancient city "no_corners" template pool

The template pool "no_corners" for ancient structures references a structure called intact_horizontal_wall_stairs_5, which does not exist.

Comments 2

I can confirm this behavior in 1.19 Pre-release 3. Here's a code analysis regarding this issue.

Code Analysis:

The following is based on a decompiled version of Minecraft 1.19 Pre-release 3 using Mojang mappings.

net.minecraft.data.worldgen.AncientCityStructurePools.java

public class AncientCityStructurePools {
   public static void bootstrap() {
   }

   static {
      ...
      Pools.register(new StructureTemplatePool(new ResourceLocation("ancient_city/walls/no_corners"), new ResourceLocation("empty"), (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_1", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_2", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_stairs_1", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_stairs_2", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_stairs_3", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_stairs_4", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_stairs_5", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1), (Object)Pair.of(StructurePoolElement.single("ancient_city/walls/intact_horizontal_wall_bridge", ProcessorLists.ANCIENT_CITY_WALLS_DEGRADATION), (Object)1)), StructureTemplatePool.Projection.RIGID));
      ...

If we look at the above class, we can see that the template pool "no_corners" references a structure called "ancient_city/walls/intact_horizontal_wall_stairs_5" which does not exist.

Can confirm in 1.19.3 Release Candidate 1.

slicedlime

(Unassigned)

Confirmed

Gameplay

Normal

Structures

22w13a, 22w14a, 1.19 Pre-release 1, 1.19 Pre-release 3, 1.19.1 Release Candidate 2, 1.19.3 Release Candidate 1, 1.20.1, 1.20.4

Retrieved