/** * 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); } }
@Override protected void registerWorldChunkManager() { if(wrapped.getType().equals("overworld")){ this.worldChunkMgr = new WorldChunkManager(this.worldObj); }else if(wrapped.getType().equals("void")){ this.worldChunkMgr = new WorldChunkManagerVoid(this.worldObj); }else if(wrapped.getType().equals("nether")){ this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F); this.isHellWorld = true; this.hasNoSky = true; }else if(wrapped.getType().equals("end")){ this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.sky, 0.0F); this.hasNoSky = true; }else if(wrapped.getType().equals("flat")){ FlatGeneratorInfo info = FlatGeneratorInfo.createFlatGeneratorFromString(this.wrapped.getOptions()); this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.getBiome(info.getBiome()), 0.5F); }else{ throw new IllegalArgumentException("Unknown world type " + this.wrapped.getType()); } }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { // WorldType type; // type = new WorldType(0, "Aracoria"); // for (BiomeGenBase biome : type.base12Biomes) // { // type.removeBiome(biome); // } // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome); // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome1); // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome2); // this.worldChunkMgr = new WorldChunkManager(this.worldObj.getSeed(), type); // this.worldChunkMgr = new WorldChunkManagerHell(SojournDimensionRegistry.aquatanBiome, 1.0F, 1.0F); }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { // WorldType type; // type = new WorldType(0, "Aracoria"); // for (BiomeGenBase biome : type.base12Biomes) // { // type.removeBiome(biome); // } // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome); // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome1); // type.addNewBiome(SojournDimensionRegistry.aracoriaBiome2); // this.worldChunkMgr = new WorldChunkManager(this.worldObj.getSeed(), type); // this.worldChunkMgr = new WorldChunkManagerHell(SojournDimensionRegistry.aracoriaBiome1, 1.0F, 1.0F); }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.sky, 0.0F); this.dimensionId = 1; this.hasNoSky = true; }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F); this.isHellWorld = true; this.hasNoSky = true; this.dimensionId = -1; }
public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(CoalWorld.biome, 0.0F); this.isHellWorld = true; this.hasNoSky = true; this.dimensionId = DIMID; }
@Override public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(mod_Rediscovered.heaven, this.dimensionId); this.dimensionId = mod_Rediscovered.DimID; this.hasNoSky = false; }
/** * 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); } }
@Override public void registerWorldChunkManager(){ this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.OldForestBiome, 0.2F, 0.1F); //this.dimensionId = Main.dimensionIDRune; this.isHellWorld = true; this.hasNoSky = true; }
@Override public void registerWorldChunkManager(){ this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.RuneBiome, 0.8F, 0.1F); //this.dimensionId = Main.dimensionIDRune2; //this.isHellWorld = true; this.hasNoSky = true; }
@Override public void registerWorldChunkManager() { /** tells Minecraft to use our new WorldChunkManager **/ this.worldChunkMgr = new WorldChunkManagerHell(ModBiomes.darkWasteland, 0F); this.isHellWorld = true; this.hasNoSky = false; this.dimensionId = ZeroQuest.DarkaxID; }
@Override public void registerWorldChunkManager() { /** tells Minecraft to use our new WorldChunkManager **/ this.worldChunkMgr = new WorldChunkManagerHell(ModBiomes.darkWasteland, 0F); this.isHellWorld = true; this.hasNoSky = false; this.dimensionId = IDs.Darkax; }
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); } }
public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F); this.isHellWorld = true; this.hasNoSky = true; this.dimensionId = -1; }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F); this.isSurfaceWorld(); this.hasNoSky = false; this.dimensionId = 2; }
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); } }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.sky, 0.5F, 0.0F); this.dimensionId = 1; this.hasNoSky = true; }
/** * creates a new world chunk manager for WorldProvider */ public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 1.0F, 0.0F); this.isHellWorld = true; this.hasNoSky = true; this.dimensionId = -1; }
@Override public void registerWorldChunkManager() { //TODO: Should we create our own WorldChunkManager??? this.worldChunkMgr = new WorldChunkManagerHell(StarTrekModBase.biomeSpace, 0.0f); this.dimensionId = StarTrekModBase.SPACE_DIM_ID; this.hasNoSky = true; this.setSpawnPoint(0, 0, 0); }
public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(ModJam.baseMagicWorldBiome, this.dimensionId, this.dimensionId); this.dimensionId = ModJam.magicDimID; this.hasNoSky = false; this.isHellWorld = false; }
@Override public void registerWorldChunkManager() { super.registerWorldChunkManager(); isHellWorld = false; this.worldChunkMgr = new WorldChunkManagerHell(CodeLyoko.lyokodesert, 0.0F); this.hasNoSky = false; }
/** * creates a new world chunk manager for WorldProvider */ @Override public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(ModBiomes.TreacherousHills, 0.8F, 0.1F); this.dimensionId = Config.dimensionNMID; this.hasNoSky = true;//true = world with normal sky but no light }
/** * creates a new world chunk manager for WorldProvider */ @Override public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(ModBiomes.LushHills, 0.8F, 0.1F); this.dimensionId = Config.dimensionID; this.hasNoSky = false;//true = world with normal sky but no light }