Java 类net.minecraft.world.biome.WorldChunkManagerHell 实例源码

项目: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);
    }
}
项目: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    文件: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);
    }
}
项目:nailed    文件:DelegatingWorldProvider.java   
@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());
    }
}
项目:Sojourn    文件:AquatanWorldProvider.java   
/**
     * 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);
    }
项目:Sojourn    文件:AracoriaWorldProvider.java   
/**
     * 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);
    }
项目:DecompiledMinecraft    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:DecompiledMinecraft    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:DecompiledMinecraft    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:DecompiledMinecraft    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:BaseClient    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:BaseClient    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:BaseClient    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:BaseClient    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:MoreDimensions    文件:CoalDimension.java   
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(CoalWorld.biome, 0.0F);
    this.isHellWorld = true;
    this.hasNoSky = true;
    this.dimensionId = DIMID;
}
项目:Rediscovered-Mod-1.8    文件:WorldProviderHeaven.java   
@Override
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(mod_Rediscovered.heaven, this.dimensionId);
    this.dimensionId = mod_Rediscovered.DimID;
    this.hasNoSky = false;
}
项目: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);
    }
}
项目:Resilience-Client-Source    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:Resilience-Client-Source    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:Rediscovered-Mod-1.8.8    文件:WorldProviderHeaven.java   
@Override
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(mod_Rediscovered.heaven, this.dimensionId);
    this.dimensionId = mod_Rediscovered.DimID;
    this.hasNoSky = false;
}
项目:Runes-And-Silver    文件:WorldProviderRunes.java   
@Override
public void registerWorldChunkManager(){
    this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.OldForestBiome, 0.2F, 0.1F);
    //this.dimensionId = Main.dimensionIDRune;
    this.isHellWorld = true;
       this.hasNoSky = true;
}
项目:Runes-And-Silver    文件:WorldProviderRune2.java   
@Override
public void registerWorldChunkManager(){
    this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.RuneBiome, 0.8F, 0.1F);
    //this.dimensionId = Main.dimensionIDRune2;
    //this.isHellWorld = true;
       this.hasNoSky = true;
}
项目:ZeroQuest    文件:WorldProviderDarkax.java   
@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;
}
项目:ZeroQuest    文件:WorldProviderDarkax.java   
@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;
}
项目: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    文件:WorldProviderHell.java   
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F);
    this.isHellWorld = true;
    this.hasNoSky = true;
    this.dimensionId = -1;
}
项目: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    文件:WorldProviderHell.java   
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F);
    this.isHellWorld = true;
    this.hasNoSky = true;
    this.dimensionId = -1;
}
项目:Pikmmin_Mo-Stuff    文件:PmsProvider.java   
/**
 * 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;
}
项目: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);
   }

}
项目:RuneCraftery    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:RuneCraftery    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:StarTrekMod    文件:SpaceWorldProvider.java   
@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);
}
项目:BetterNutritionMod    文件:WorldProviderEnd.java   
/**
 * 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;
}
项目:BetterNutritionMod    文件:WorldProviderHell.java   
/**
 * 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;
}
项目:Modjam-2    文件:WorldProviderMagicWorld.java   
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(ModJam.baseMagicWorldBiome, this.dimensionId, this.dimensionId);
    this.dimensionId = ModJam.magicDimID;
    this.hasNoSky = false;
    this.isHellWorld = false;
}
项目:CodeLyokoMod    文件:WorldProviderDesertSector.java   
@Override
public void registerWorldChunkManager()
{
    super.registerWorldChunkManager();
    isHellWorld = false;
    this.worldChunkMgr = new WorldChunkManagerHell(CodeLyoko.lyokodesert, 0.0F);
    this.hasNoSky = false;
}
项目:JLPModJam    文件:NightMareWorldProvider.java   
/**
 * 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
}
项目:JLPModJam    文件:DreamLandWorldProvider.java   
/**
 * 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
}