Talk:Superflat

From Minecraft Wiki
Jump to: navigation, search
Archives

woodlandmansion not in the game code[edit source]

I have no idea how the structure generation option "woodlandmansion" made it into the wiki, but it is not in the game's code of 1.12.2. Just generate a world with biome id 29 and try /locate Mansion Here is also the portion of the code that's responsable for testing the structure options:

   if (generateStructures)
   {
       Map<String, Map<String, String>> map = this.flatWorldGenInfo.getWorldFeatures();

       if (map.containsKey("village"))
       {
           Map<String, String> map1 = (Map)map.get("village");

           if (!map1.containsKey("size"))
           {
               map1.put("size", "1");
           }

           this.structureGenerators.put("Village", new MapGenVillage(map1));
       }

       if (map.containsKey("biome_1"))
       {
           this.structureGenerators.put("Temple", new MapGenScatteredFeature(map.get("biome_1")));
       }

       if (map.containsKey("mineshaft"))
       {
           this.structureGenerators.put("Mineshaft", new MapGenMineshaft(map.get("mineshaft")));
       }

       if (map.containsKey("stronghold"))
       {
           this.structureGenerators.put("Stronghold", new MapGenStronghold(map.get("stronghold")));
       }

       if (map.containsKey("oceanmonument"))
       {
           this.structureGenerators.put("Monument", new StructureOceanMonument(map.get("oceanmonument")));
       }
   }

   if (this.flatWorldGenInfo.getWorldFeatures().containsKey("lake"))
   {
       this.waterLakeGenerator = new WorldGenLakes(Blocks.WATER);
   }

   if (this.flatWorldGenInfo.getWorldFeatures().containsKey("lava_lake"))
   {
       this.lavaLakeGenerator = new WorldGenLakes(Blocks.LAVA);
   }

   this.hasDungeons = this.flatWorldGenInfo.getWorldFeatures().containsKey("dungeon");
Someone probably saw the other structures and added woodlandmansion without checking and it went under the radar. It happens.
It's removed now, thanks for bringing this to out attention. --Pepijn (talk) 13:19, 18 October 2017 (UTC)