当前位置: 首页>>代码示例>>Java>>正文


Java WorldChunkManagerHell类代码示例

本文整理汇总了Java中net.minecraft.world.biome.WorldChunkManagerHell的典型用法代码示例。如果您正苦于以下问题:Java WorldChunkManagerHell类的具体用法?Java WorldChunkManagerHell怎么用?Java WorldChunkManagerHell使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


WorldChunkManagerHell类属于net.minecraft.world.biome包,在下文中一共展示了WorldChunkManagerHell类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
 * 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);
    }
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:22,代码来源:WorldProvider.java

示例2: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@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());
    }
}
 
开发者ID:nailed,项目名称:nailed,代码行数:21,代码来源:DelegatingWorldProvider.java

示例3: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
     * 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);
    }
 
开发者ID:Hologuardian,项目名称:Sojourn,代码行数:19,代码来源:AquatanWorldProvider.java

示例4: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
     * 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);
    }
 
开发者ID:Hologuardian,项目名称:Sojourn,代码行数:19,代码来源:AracoriaWorldProvider.java

示例5: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
 * 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;
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:10,代码来源:WorldProviderEnd.java

示例6: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
 * 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;
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:11,代码来源:WorldProviderHell.java

示例7: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
public void registerWorldChunkManager()
{
	this.worldChunkMgr = new WorldChunkManagerHell(CoalWorld.biome, 0.0F);
	this.isHellWorld = true;
	this.hasNoSky = true;
	this.dimensionId = DIMID;
}
 
开发者ID:sokratis12GR,项目名称:MoreDimensions,代码行数:8,代码来源:CoalDimension.java

示例8: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@Override
public void registerWorldChunkManager()
{
	this.worldChunkMgr = new WorldChunkManagerHell(mod_Rediscovered.heaven, this.dimensionId);
	this.dimensionId = mod_Rediscovered.DimID;
	this.hasNoSky = false;
}
 
开发者ID:Stormister,项目名称:Rediscovered-Mod-1.8,代码行数:8,代码来源:WorldProviderHeaven.java

示例9: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
/**
 * 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);
    }
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:16,代码来源:WorldProvider.java

示例10: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@Override
public void registerWorldChunkManager(){
	this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.OldForestBiome, 0.2F, 0.1F);
	//this.dimensionId = Main.dimensionIDRune;
	this.isHellWorld = true;
       this.hasNoSky = true;
}
 
开发者ID:MinecraftModArchive,项目名称:Runes-And-Silver,代码行数:8,代码来源:WorldProviderRunes.java

示例11: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@Override
public void registerWorldChunkManager(){
	this.worldChunkMgr = new WorldChunkManagerHell(RunesAndSilver.RuneBiome, 0.8F, 0.1F);
	//this.dimensionId = Main.dimensionIDRune2;
	//this.isHellWorld = true;
       this.hasNoSky = true;
}
 
开发者ID:MinecraftModArchive,项目名称:Runes-And-Silver,代码行数:8,代码来源:WorldProviderRune2.java

示例12: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@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;
}
 
开发者ID:NovaViper,项目名称:ZeroQuest,代码行数:10,代码来源:WorldProviderDarkax.java

示例13: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
@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;
}
 
开发者ID:NovaViper,项目名称:ZeroQuest,代码行数:9,代码来源:WorldProviderDarkax.java

示例14: getChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
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);
    }
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:13,代码来源:WorldType.java

示例15: registerWorldChunkManager

import net.minecraft.world.biome.WorldChunkManagerHell; //导入依赖的package包/类
public void registerWorldChunkManager()
{
    this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.hell, 0.0F);
    this.isHellWorld = true;
    this.hasNoSky = true;
    this.dimensionId = -1;
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:8,代码来源:WorldProviderHell.java


注:本文中的net.minecraft.world.biome.WorldChunkManagerHell类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。