Java 类net.minecraft.world.gen.FlatGeneratorInfo 实例源码

项目:DecompiledMinecraft    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void registerWorldChunkManager()
{
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.getBiomeFromBiomeList(flatgeneratorinfo.getBiome(), BiomeGenBase.field_180279_ad), 0.5F);
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.plains, 0.0F);
    }
    else
    {
        this.worldChunkMgr = new WorldChunkManager(this.worldObj);
    }
}
项目:DecompiledMinecraft    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void registerWorldChunkManager()
{
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.getBiomeFromBiomeList(flatgeneratorinfo.getBiome(), BiomeGenBase.field_180279_ad), 0.5F);
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.plains, 0.0F);
    }
    else
    {
        this.worldChunkMgr = new WorldChunkManager(this.worldObj);
    }
}
项目:DecompiledMinecraft    文件:GuiFlatPresets.java   
private static void func_175354_a(String p_175354_0_, Item p_175354_1_, int p_175354_2_, BiomeGenBase p_175354_3_, List<String> p_175354_4_, FlatLayerInfo... p_175354_5_)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = p_175354_5_.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(p_175354_5_[i]);
    }

    flatgeneratorinfo.setBiome(p_175354_3_.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (p_175354_4_ != null)
    {
        for (String s : p_175354_4_)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(p_175354_1_, p_175354_2_, p_175354_0_, flatgeneratorinfo.toString()));
}
项目:BaseClient    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void registerWorldChunkManager()
{
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.getBiomeFromBiomeList(flatgeneratorinfo.getBiome(), BiomeGenBase.field_180279_ad), 0.5F);
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.plains, 0.0F);
    }
    else
    {
        this.worldChunkMgr = new WorldChunkManager(this.worldObj);
    }
}
项目:BaseClient    文件:GuiFlatPresets.java   
private static void func_175354_a(String p_175354_0_, Item p_175354_1_, int p_175354_2_, BiomeGenBase p_175354_3_, List<String> p_175354_4_, FlatLayerInfo... p_175354_5_)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = p_175354_5_.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(p_175354_5_[i]);
    }

    flatgeneratorinfo.setBiome(p_175354_3_.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (p_175354_4_ != null)
    {
        for (String s : p_175354_4_)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(p_175354_1_, p_175354_2_, p_175354_0_, flatgeneratorinfo.toString()));
}
项目:BaseClient    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void registerWorldChunkManager()
{
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.getBiomeFromBiomeList(flatgeneratorinfo.getBiome(), BiomeGenBase.field_180279_ad), 0.5F);
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.plains, 0.0F);
    }
    else
    {
        this.worldChunkMgr = new WorldChunkManager(this.worldObj);
    }
}
项目:BaseClient    文件:GuiFlatPresets.java   
private static void func_175354_a(String p_175354_0_, Item p_175354_1_, int p_175354_2_, BiomeGenBase p_175354_3_, List<String> p_175354_4_, FlatLayerInfo... p_175354_5_)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = p_175354_5_.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(p_175354_5_[i]);
    }

    flatgeneratorinfo.setBiome(p_175354_3_.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (p_175354_4_ != null)
    {
        for (String s : p_175354_4_)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(p_175354_1_, p_175354_2_, p_175354_0_, flatgeneratorinfo.toString()));
}
项目:Zombe-Modpack    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void createBiomeProvider()
{
    this.field_191067_f = true;
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.biomeProvider = new BiomeProviderSingle(Biome.getBiome(flatgeneratorinfo.getBiome(), Biomes.DEFAULT));
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.biomeProvider = new BiomeProviderSingle(Biomes.PLAINS);
    }
    else
    {
        this.biomeProvider = new BiomeProvider(this.worldObj.getWorldInfo());
    }
}
项目:Backmemed    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void createBiomeProvider()
{
    this.field_191067_f = true;
    WorldType worldtype = this.worldObj.getWorldInfo().getTerrainType();

    if (worldtype == WorldType.FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.biomeProvider = new BiomeProviderSingle(Biome.getBiome(flatgeneratorinfo.getBiome(), Biomes.DEFAULT));
    }
    else if (worldtype == WorldType.DEBUG_WORLD)
    {
        this.biomeProvider = new BiomeProviderSingle(Biomes.PLAINS);
    }
    else
    {
        this.biomeProvider = new BiomeProvider(this.worldObj.getWorldInfo());
    }
}
项目:Backmemed    文件:GuiFlatPresets.java   
private static void registerPreset(String name, Item icon, int iconMetadata, Biome biome, List<String> features, FlatLayerInfo... layers)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = layers.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(layers[i]);
    }

    flatgeneratorinfo.setBiome(Biome.getIdForBiome(biome));
    flatgeneratorinfo.updateLayers();

    for (String s : features)
    {
        flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(icon, iconMetadata, name, flatgeneratorinfo.toString()));
}
项目:CustomWorldGen    文件:GuiFlatPresets.java   
private static void registerPreset(String name, Item icon, int iconMetadata, Biome biome, @Nullable List<String> features, FlatLayerInfo... layers)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = layers.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(layers[i]);
    }

    flatgeneratorinfo.setBiome(Biome.getIdForBiome(biome));
    flatgeneratorinfo.updateLayers();

    if (features != null)
    {
        for (String s : features)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(icon, iconMetadata, name, flatgeneratorinfo.toString()));
}
项目:Simple-Dimensions    文件:GuiFlatDimensionPresets.java   
private static void registerPreset(String name, Item icon, int iconMetadata, Biome biome, List<String> features, FlatLayerInfo... layers)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = layers.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(layers[i]);
    }

    flatgeneratorinfo.setBiome(Biome.getIdForBiome(biome));
    flatgeneratorinfo.updateLayers();

    if (features != null)
    {
        for (String s : features)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatDimensionPresets.LayerItem(icon, iconMetadata, name, flatgeneratorinfo.toString()));
}
项目:Resilience-Client-Source    文件:GuiFlatPresets.java   
private static void func_146421_a(String p_146421_0_, Item p_146421_1_, BiomeGenBase p_146421_2_, List p_146421_3_, FlatLayerInfo ... p_146421_4_)
{
    FlatGeneratorInfo var5 = new FlatGeneratorInfo();

    for (int var6 = p_146421_4_.length - 1; var6 >= 0; --var6)
    {
        var5.getFlatLayers().add(p_146421_4_[var6]);
    }

    var5.setBiome(p_146421_2_.biomeID);
    var5.func_82645_d();

    if (p_146421_3_ != null)
    {
        Iterator var8 = p_146421_3_.iterator();

        while (var8.hasNext())
        {
            String var7 = (String)var8.next();
            var5.getWorldFeatures().put(var7, new HashMap());
        }
    }

    field_146431_f.add(new GuiFlatPresets.LayerItem(p_146421_1_, p_146421_0_, var5.toString()));
}
项目:ExpandedRailsMod    文件:GuiFlatPresets.java   
private static void registerPreset(String name, Item icon, int iconMetadata, Biome biome, @Nullable List<String> features, FlatLayerInfo... layers)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = layers.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(layers[i]);
    }

    flatgeneratorinfo.setBiome(Biome.getIdForBiome(biome));
    flatgeneratorinfo.updateLayers();

    if (features != null)
    {
        for (String s : features)
        {
            flatgeneratorinfo.getWorldFeatures().put(s, Maps.<String, String>newHashMap());
        }
    }

    FLAT_WORLD_PRESETS.add(new GuiFlatPresets.LayerItem(icon, iconMetadata, name, flatgeneratorinfo.toString()));
}
项目:Cauldron    文件:GuiFlatPresets.java   
private static void func_146421_a(String p_146421_0_, Item p_146421_1_, BiomeGenBase p_146421_2_, List p_146421_3_, FlatLayerInfo ... p_146421_4_)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = p_146421_4_.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(p_146421_4_[i]);
    }

    flatgeneratorinfo.setBiome(p_146421_2_.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (p_146421_3_ != null)
    {
        Iterator iterator = p_146421_3_.iterator();

        while (iterator.hasNext())
        {
            String s1 = (String)iterator.next();
            flatgeneratorinfo.getWorldFeatures().put(s1, new HashMap());
        }
    }

    field_146431_f.add(new GuiFlatPresets.LayerItem(p_146421_1_, p_146421_0_, flatgeneratorinfo.toString()));
}
项目:Cauldron    文件:GuiFlatPresets.java   
private static void func_146421_a(String p_146421_0_, Item p_146421_1_, BiomeGenBase p_146421_2_, List p_146421_3_, FlatLayerInfo ... p_146421_4_)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int i = p_146421_4_.length - 1; i >= 0; --i)
    {
        flatgeneratorinfo.getFlatLayers().add(p_146421_4_[i]);
    }

    flatgeneratorinfo.setBiome(p_146421_2_.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (p_146421_3_ != null)
    {
        Iterator iterator = p_146421_3_.iterator();

        while (iterator.hasNext())
        {
            String s1 = (String)iterator.next();
            flatgeneratorinfo.getWorldFeatures().put(s1, new HashMap());
        }
    }

    field_146431_f.add(new GuiFlatPresets.LayerItem(p_146421_1_, p_146421_0_, flatgeneratorinfo.toString()));
}
项目:RuneCraftery    文件:GuiFlatPresets.java   
public static void func_82294_a(String p_82294_0_, int p_82294_1_, BiomeGenBase p_82294_2_, List p_82294_3_, FlatLayerInfo ... p_82294_4_) {
   FlatGeneratorInfo var5 = new FlatGeneratorInfo();

   for(int var6 = p_82294_4_.length - 1; var6 >= 0; --var6) {
      var5.func_82650_c().add(p_82294_4_[var6]);
   }

   var5.func_82647_a(p_82294_2_.field_76756_M);
   var5.func_82645_d();
   if(p_82294_3_ != null) {
      Iterator var8 = p_82294_3_.iterator();

      while(var8.hasNext()) {
         String var7 = (String)var8.next();
         var5.func_82644_b().put(var7, new HashMap());
      }
   }

   field_82301_b.add(new GuiFlatPresetsItem(p_82294_1_, p_82294_0_, var5.toString()));
}
项目:RuneCraftery    文件:GuiFlatPresets.java   
/**
 * Add a flat world preset.
 */
public static void addPreset(String par0Str, int par1, BiomeGenBase par2BiomeGenBase, List par3List, FlatLayerInfo ... par4ArrayOfFlatLayerInfo)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int j = par4ArrayOfFlatLayerInfo.length - 1; j >= 0; --j)
    {
        flatgeneratorinfo.getFlatLayers().add(par4ArrayOfFlatLayerInfo[j]);
    }

    flatgeneratorinfo.setBiome(par2BiomeGenBase.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (par3List != null)
    {
        Iterator iterator = par3List.iterator();

        while (iterator.hasNext())
        {
            String s1 = (String)iterator.next();
            flatgeneratorinfo.getWorldFeatures().put(s1, new HashMap());
        }
    }

    presets.add(new GuiFlatPresetsItem(par1, par0Str, flatgeneratorinfo.toString()));
}
项目:BetterNutritionMod    文件:GuiFlatPresets.java   
/**
 * Add a flat world preset.
 */
public static void addPreset(String par0Str, int par1, BiomeGenBase par2BiomeGenBase, List par3List, FlatLayerInfo ... par4ArrayOfFlatLayerInfo)
{
    FlatGeneratorInfo flatgeneratorinfo = new FlatGeneratorInfo();

    for (int j = par4ArrayOfFlatLayerInfo.length - 1; j >= 0; --j)
    {
        flatgeneratorinfo.getFlatLayers().add(par4ArrayOfFlatLayerInfo[j]);
    }

    flatgeneratorinfo.setBiome(par2BiomeGenBase.biomeID);
    flatgeneratorinfo.func_82645_d();

    if (par3List != null)
    {
        Iterator iterator = par3List.iterator();

        while (iterator.hasNext())
        {
            String s1 = (String)iterator.next();
            flatgeneratorinfo.getWorldFeatures().put(s1, new HashMap());
        }
    }

    presets.add(new GuiFlatPresetsItem(par1, par0Str, flatgeneratorinfo.toString()));
}
项目:Resilience-Client-Source    文件:WorldProvider.java   
/**
 * creates a new world chunk manager for WorldProvider
 */
protected void registerWorldChunkManager()
{
    if (this.worldObj.getWorldInfo().getTerrainType() == WorldType.FLAT)
    {
        FlatGeneratorInfo var1 = FlatGeneratorInfo.createFlatGeneratorFromString(this.worldObj.getWorldInfo().getGeneratorOptions());
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.func_150568_d(var1.getBiome()), 0.5F);
    }
    else
    {
        this.worldChunkMgr = new WorldChunkManager(this.worldObj);
    }
}
项目:Cauldron    文件:WorldType.java   
public WorldChunkManager getChunkManager(World world)
{
    if (this == FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(world.getWorldInfo().getGeneratorOptions());
        return new WorldChunkManagerHell(BiomeGenBase.getBiome(flatgeneratorinfo.getBiome()), 0.5F);
    }
    else
    {
        return new WorldChunkManager(world);
    }
}
项目:Cauldron    文件:WorldType.java   
public WorldChunkManager getChunkManager(World world)
{
    if (this == FLAT)
    {
        FlatGeneratorInfo flatgeneratorinfo = FlatGeneratorInfo.createFlatGeneratorFromString(world.getWorldInfo().getGeneratorOptions());
        return new WorldChunkManagerHell(BiomeGenBase.getBiome(flatgeneratorinfo.getBiome()), 0.5F);
    }
    else
    {
        return new WorldChunkManager(world);
    }
}
项目:RuneCraftery    文件:WorldProvider.java   
protected void func_76572_b() {
   if(this.field_76579_a.func_72912_H().func_76067_t() == WorldType.field_77138_c) {
      FlatGeneratorInfo var1 = FlatGeneratorInfo.func_82651_a(this.field_76579_a.func_72912_H().func_82571_y());
      this.field_76578_c = new WorldChunkManagerHell(BiomeGenBase.field_76773_a[var1.func_82648_a()], 0.5F, 0.5F);
   } else {
      this.field_76578_c = new WorldChunkManager(this.field_76579_a);
   }

}
项目:DecompiledMinecraft    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:BaseClient    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:BaseClient    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:Backmemed    文件:GuiCreateFlatWorld.java   
/**
 * Sets the superflat preset. Invalid or null values will result in the default superflat preset being used.
 */
public void setPreset(String preset)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(preset);
}
项目:CustomWorldGen    文件:GuiCreateFlatWorld.java   
/**
 * Sets the superflat preset. Invalid or null values will result in the default superflat preset being used.
 */
public void setPreset(String preset)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(preset);
}
项目:Resilience-Client-Source    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.field_146387_g = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:ExpandedRailsMod    文件:GuiCreateFlatWorld.java   
/**
 * Sets the superflat preset. Invalid or null values will result in the default superflat preset being used.
 */
public void setPreset(String preset)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(preset);
}
项目:Cauldron    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:Cauldron    文件:GuiCreateFlatWorld.java   
public void func_146383_a(String p_146383_1_)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(p_146383_1_);
}
项目:RuneCraftery    文件:ChunkProviderFlat.java   
public ChunkProviderFlat(World p_i2004_1_, long p_i2004_2_, boolean p_i2004_4_, String p_i2004_5_) {
   this.field_73163_a = p_i2004_1_;
   this.field_73161_b = new Random(p_i2004_2_);
   this.field_82699_e = FlatGeneratorInfo.func_82651_a(p_i2004_5_);
   if(p_i2004_4_) {
      Map var6 = this.field_82699_e.func_82644_b();
      if(var6.containsKey("village")) {
         Map var7 = (Map)var6.get("village");
         if(!var7.containsKey("size")) {
            var7.put("size", "1");
         }

         this.field_82696_f.add(new MapGenVillage(var7));
      }

      if(var6.containsKey("biome_1")) {
         this.field_82696_f.add(new MapGenScatteredFeature((Map)var6.get("biome_1")));
      }

      if(var6.containsKey("mineshaft")) {
         this.field_82696_f.add(new MapGenMineshaft((Map)var6.get("mineshaft")));
      }

      if(var6.containsKey("stronghold")) {
         this.field_82696_f.add(new MapGenStronghold((Map)var6.get("stronghold")));
      }
   }

   this.field_82697_g = this.field_82699_e.func_82644_b().containsKey("decoration");
   if(this.field_82699_e.func_82644_b().containsKey("lake")) {
      this.field_82703_i = new WorldGenLakes(Block.field_71943_B.field_71990_ca);
   }

   if(this.field_82699_e.func_82644_b().containsKey("lava_lake")) {
      this.field_82701_j = new WorldGenLakes(Block.field_71938_D.field_71990_ca);
   }

   this.field_82702_h = this.field_82699_e.func_82644_b().containsKey("dungeon");
   Iterator var9 = this.field_82699_e.func_82650_c().iterator();

   while(var9.hasNext()) {
      FlatLayerInfo var10 = (FlatLayerInfo)var9.next();

      for(int var8 = var10.func_82656_d(); var8 < var10.func_82656_d() + var10.func_82657_a(); ++var8) {
         this.field_82700_c[var8] = (byte)(var10.func_82659_b() & 255);
         this.field_82698_d[var8] = (byte)var10.func_82658_c();
      }
   }

}
项目:RuneCraftery    文件:GuiCreateFlatWorld.java   
public void func_82273_a(String p_82273_1_) {
   this.field_82279_c = FlatGeneratorInfo.func_82651_a(p_82273_1_);
}
项目:RuneCraftery    文件:GuiCreateFlatWorld.java   
static FlatGeneratorInfo func_82271_a(GuiCreateFlatWorld p_82271_0_) {
   return p_82271_0_.field_82279_c;
}
项目:RuneCraftery    文件:GuiCreateFlatWorld.java   
public void setFlatGeneratorInfo(String par1Str)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(par1Str);
}
项目:RuneCraftery    文件:GuiCreateFlatWorld.java   
static FlatGeneratorInfo func_82271_a(GuiCreateFlatWorld par0GuiCreateFlatWorld)
{
    return par0GuiCreateFlatWorld.theFlatGeneratorInfo;
}
项目:BetterNutritionMod    文件:GuiCreateFlatWorld.java   
public void setFlatGeneratorInfo(String par1Str)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(par1Str);
}
项目:BetterNutritionMod    文件:GuiCreateFlatWorld.java   
static FlatGeneratorInfo func_82271_a(GuiCreateFlatWorld par0GuiCreateFlatWorld)
{
    return par0GuiCreateFlatWorld.theFlatGeneratorInfo;
}
项目:Simple-Dimensions    文件:GuiCreateFlatDimension.java   
/**
 * Sets the superflat preset. Invalid or null values will result in the default superflat preset being used.
 *  
 * @param preset The new preset to use in the format described on the Superflat article on the Minecraft Wiki
 */
public void setPreset(String preset)
{
    this.theFlatGeneratorInfo = FlatGeneratorInfo.createFlatGeneratorFromString(preset);
}