Java 类net.minecraft.world.gen.layer.GenLayer 实例源码

项目:ExPetrum    文件:WorldTypeExP.java   
public GenLayerBiomeMod(long p_i45560_1_, GenLayer p_i45560_3_, WorldType p_i45560_4_, ChunkGeneratorSettings p_i45560_5_)
{
    super(p_i45560_1_);
    this.parent = p_i45560_3_;
    this.biomes.add(new BiomeEntry(ExPBiomes.plains, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.forest, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.mountains, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.dense_forest, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.swampland, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.rare_forest, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.hills, 10));
       this.biomes.add(new BiomeEntry(ExPBiomes.cold_forest, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.dense_cold_forest, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.cold_plains, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.savanna, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.warm_forest, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.warm_plains, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.dense_warm_forest, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.jungle, 10));
    this.biomes.add(new BiomeEntry(ExPBiomes.desert, 10));
    this.settings = p_i45560_5_;
}
项目:PopularMMOS-EpicProportions-Mod    文件:GenLayerBiomeEpic.java   
public GenLayerBiomeEpic(long p_i2122_1_, GenLayer p_i2122_3_, WorldType p_i2122_4_)
{
    super(p_i2122_1_);

    this.parent = p_i2122_3_;

    this.desertBiomes.removeAll(BiomeManager.desertBiomes);
    this.warmBiomes.removeAll(BiomeManager.warmBiomes);
    this.coolBiomes.removeAll(BiomeManager.coolBiomes);
    this.icyBiomes.removeAll(BiomeManager.icyBiomes);

    if (p_i2122_4_ == WorldType.DEFAULT_1_1)
    {

        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
    else
    {

        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
}
项目:Geographicraft    文件:LockGenLayers.java   
private Filter<GenLayer> isBiomeLayer() {
    return new Filter<GenLayer>() {
        public boolean accepts(GenLayer tested) {
            if (tested == null) return false;
            //LockGenLayer.logger.info(tested.getClass().getCanonicalName());
            //if (tested.getClass().getCanonicalName().contains("GenLayerBiome")) return true; BiomeLayerBiomes
            if (tested instanceof GenLayerBiome) return true;
            if (tested instanceof GenLayerBiomeByClimate) return true;
            if (tested instanceof GenLayerBiomeByTaggedClimate) return true;
            if (tested instanceof GenLayerRandomBiomes) return true;
            if (tested instanceof GenLayerOneSixBiome) return true;
            if (tested.getClass().getCanonicalName().contains("BiomeLayerBiomes")) return true;
            if (tested.getClass().getCanonicalName().contains("GenLayerBiomeEdgeHL")) return true;
            if (tested.getClass().getCanonicalName().contains("GenLayerBiomeByTaggedClimate")) return true;
            return false;
        }

    };
}
项目:Geographicraft    文件:LockGenLayers.java   
private Filter<GenLayer> smoothClimateParent() {
    return new Filter<GenLayer>() {
        private GenLayer smoothClimateLayer = null;
        public boolean accepts(GenLayer tested) {
            if (tested == null) return false;
            //LockGenLayer.logger.info(tested.toString());
            if (tested instanceof GenLayerSmoothClimate||tested instanceof GenLayerBiomeByTaggedClimate) {
                smoothClimateLayer = tested;
                //LockGenLayer.logger.info("smooth climate is "+tested.toString());
                //LockGenLayer.logger.info("parent is "+parent(tested).toString());
                return false; // obviously not the parent
            }
            // not parent if we haven't hit the smoothclimate layer
            if (smoothClimateLayer == null) return false;
            if (tested.equals(parent(smoothClimateLayer))) {
                //LockGenLayer.logger.info("smooth climate on "+tested.toString());
                return true;
            }
            return false;
        }

    };
}
项目:Firma    文件:FirmaBiomeProvider.java   
public FirmaBiomeProvider(long seed, WorldType worldTypeIn, String options) {
    this.biomeCache = new BiomeCache(this);
    FirmaBiome[] allowedBiomesFirma = { FirmaBiome.PLAINS, FirmaBiome.HILLS ,FirmaBiome.SWAMP };
    this.biomesToSpawnIn = Lists.newArrayList(allowedBiomesFirma);
    GenLayer[] agenlayer = FirmaGenLayer.initialize(seed, worldTypeIn);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:DecompiledMinecraft    文件:WorldChunkManager.java   
public WorldChunkManager(long seed, WorldType p_i45744_3_, String p_i45744_4_)
{
    this();
    this.field_180301_f = p_i45744_4_;
    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, p_i45744_3_, p_i45744_4_);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:DecompiledMinecraft    文件:WorldChunkManager.java   
public WorldChunkManager(long seed, WorldType p_i45744_3_, String p_i45744_4_)
{
    this();
    this.field_180301_f = p_i45744_4_;
    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, p_i45744_3_, p_i45744_4_);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:BaseClient    文件:WorldChunkManager.java   
public WorldChunkManager(long seed, WorldType p_i45744_3_, String p_i45744_4_)
{
    this();
    this.field_180301_f = p_i45744_4_;
    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, p_i45744_3_, p_i45744_4_);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:BaseClient    文件:WorldChunkManager.java   
public WorldChunkManager(long seed, WorldType p_i45744_3_, String p_i45744_4_)
{
    this();
    this.field_180301_f = p_i45744_4_;
    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, p_i45744_3_, p_i45744_4_);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:Backmemed    文件:BiomeProvider.java   
private BiomeProvider(long seed, WorldType worldTypeIn, String options)
{
    this();

    if (worldTypeIn == WorldType.CUSTOMIZED && !options.isEmpty())
    {
        this.field_190945_a = ChunkProviderSettings.Factory.jsonToFactory(options).build();
    }

    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, worldTypeIn, this.field_190945_a);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:CustomWorldGen    文件:WorldTypeEvent.java   
public InitBiomeGens(WorldType worldType, long seed, GenLayer[] original)
{
    super(worldType);
    this.seed = seed;
    originalBiomeGens = original;
    setNewBiomeGens(original.clone());
}
项目:CustomWorldGen    文件:BiomeProvider.java   
private BiomeProvider(long seed, WorldType worldTypeIn, String options)
{
    this();
    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, worldTypeIn, options);
    agenlayer = getModdedBiomeGenerators(worldTypeIn, seed, agenlayer);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
}
项目:ExPetrum    文件:WorldTypeExP.java   
@Override
public GenLayer getBiomeLayer(long worldSeed, GenLayer parentLayer, ChunkGeneratorSettings chunkProviderSettings)
{
     net.minecraft.world.gen.layer.GenLayer ret = new GenLayerBiomeMod(200L, parentLayer, this, chunkProviderSettings);
     ret = net.minecraft.world.gen.layer.GenLayerZoom.magnify(1000L, ret, 2);
     ret = new net.minecraft.world.gen.layer.GenLayerBiomeEdge(1000L, ret);
     return ret;
}
项目:ExPetrum    文件:WorldTypeExP.java   
private BiomeProviderExP(long seed, WorldType worldTypeIn, String options)
{
    this();

    if (worldTypeIn == WorldType.CUSTOMIZED && !options.isEmpty())
    {
        this.settings = ChunkGeneratorSettings.Factory.jsonToFactory(options).build();
    }

    GenLayer[] agenlayer = GenLayer.initializeAllBiomeGenerators(seed, worldTypeIn, this.settings);
    agenlayer = getModdedBiomeGenerators(worldTypeIn, seed, agenlayer);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
    this.featureProvider = new FeatureProvider(seed);
}
项目:ExPetrum    文件:WorldTypeExP.java   
@Override
public GenLayer[] getModdedBiomeGenerators(WorldType worldType, long seed, GenLayer[] original)
   {
       net.minecraftforge.event.terraingen.WorldTypeEvent.InitBiomeGens event = new net.minecraftforge.event.terraingen.WorldTypeEvent.InitBiomeGens(worldType, seed, original);
       net.minecraftforge.common.MinecraftForge.TERRAIN_GEN_BUS.post(event);
       return event.getNewBiomeGens();
   }
项目:Geographicraft    文件:MountainFormer.java   
private GenLayer mountainGenLayers() {
    GenLayer result = new GenLayerConstant(1,1);
    result = new GenLayerRiverInit(3001L,result);
    for (int i = 0 ; i < 3; i++) {
        result = new GenLayerZoom(3001L+i,result);
        result = new GenLayerSmooth(3001L+i,result);
    }
    result = new GenLayerMountainChains(3005L,result);
    result = new GenLayerLimitedCache(result,64);

    result = reportOn(result, "mountains.txt");
    return result;
}
项目:Geographicraft    文件:TestGeneratorPair.java   
public GenLayer parent(GenLayer child) {
    if (child == null) return null;
    if (child instanceof GenLayerPack) {
        return ((GenLayerPack)child).getParent();
    }
    return genLayerParent.get(child);
}
项目:McWorldGenLoop    文件:EdgeTemperaturesTileable.java   
public EdgeTemperaturesTileable(GenLayerEdge original) {
    super(0, null, null);
    copyNonStaticFieldsByType(GenLayer.class, long.class, original, this);
    copyNonStaticFieldsByType(GenLayer.class, GenLayer.class, original, this);
    copyNonStaticFieldsByType(GenLayerEdge.class, GenLayerEdge.Mode.class, original, this);

    this.parent = GenLayerTileableUtil.getTileableLayer(this.parent);
}
项目:Geographicraft    文件:AbstractWorldGenerator.java   
public GenLayerRiverMix vanillaExpansion(long worldSeed, WorldType par2WorldType,
    GenLayer genlayer3,ClimateControlSettings settings){
    if (settings.oneSixCompatibility.value()) {
        return this.oneSixExpansion(worldSeed, par2WorldType, genlayer3, settings);
    } else {
        return this.oneSevenExpansion(worldSeed, par2WorldType, genlayer3, settings);
    }
}
项目:PopularMMOS-EpicProportions-Mod    文件:JenGenLayerBiome.java   
public JenGenLayerBiome(long p_i2122_1_, GenLayer p_i2122_3_, WorldType p_i2122_4_)
{
    super(p_i2122_1_);

    this.parent = p_i2122_3_;

    this.desertBiomes.addAll(BiomeManager.desertBiomes);
    this.warmBiomes.addAll(BiomeManager.warmBiomes);
    this.coolBiomes.addAll(BiomeManager.coolBiomes);
    this.icyBiomes.addAll(BiomeManager.icyBiomes);

    if (p_i2122_4_ == WorldType.DEFAULT_1_1)
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.forest, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.extremeHills, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.swampland, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.taiga, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
    else
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 30));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.savanna, 20));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
}
项目:Geographicraft    文件:GenLayerOneSixBiome.java   
public GenLayerOneSixBiome(long par1, GenLayer par3GenLayer, WorldType par4WorldType) {
    super(par1);
    //this.allowedBiomes = par4WorldType.;
    allowedBiomes = base12Biomes;
    this.parent = par3GenLayer;

}
项目:Geographicraft    文件:GenLayerZoom.java   
/**
 * Magnify a layer. Parms are seed adjustment, layer, number of times to magnify
 */
public static GenLayer magnify(long par0, GenLayer par2GenLayer, int par3)
{
    Object object = par2GenLayer;

    for (int k = 0; k < par3; ++k)
    {
        object = new GenLayerZoom(par0 + (long)k, (GenLayer)object);
    }

    return (GenLayer)object;
}
项目:Geographicraft    文件:GenLayerBiome.java   
public GenLayerBiome(long par1, GenLayer par3GenLayer, WorldType worldType)//, WorldType par4WorldType)
{
    super(par1);
    this.field_151623_c = new Biome[] {Biomes.DESERT, Biomes.DESERT, Biomes.DESERT, Biomes.SAVANNA, Biomes.SAVANNA, Biomes.PLAINS};
    this.field_151621_d = new Biome[] {Biomes.FOREST, Biomes.ROOFED_FOREST, Biomes.EXTREME_HILLS, Biomes.PLAINS, Biomes.BIRCH_FOREST, Biomes.SWAMPLAND};
    this.field_151622_e = new Biome[] {Biomes.FOREST, Biomes.EXTREME_HILLS, Biomes.TAIGA, Biomes.PLAINS};
    this.field_151620_f = new Biome[] {Biomes.ICE_PLAINS, Biomes.ICE_PLAINS, Biomes.ICE_PLAINS, Biomes.COLD_TAIGA};
    this.parent = par3GenLayer;

    if (worldType == WorldType.DEFAULT_1_1)
    {
        this.field_151623_c = new Biome[] {Biomes.DESERT, Biomes.FOREST, Biomes.EXTREME_HILLS, Biomes.SWAMPLAND, Biomes.PLAINS, Biomes.TAIGA};
    }
}
项目:Geographicraft    文件:GenLayerOceanicIslands.java   
private GenLayerOceanicIslands(long p_i45480_1_, GenLayer p_i45480_3_, int milleFill, final int islandValue,
        boolean suppressDiagonals,String layerName){
    super(p_i45480_1_);
    this.parent = p_i45480_3_;
    this.milleFill = milleFill;
    // using a constant island value so create a RandomIntUser that ignores the random and returns the value
    this.island = new IslandClimateMaker() {
        public int climate(int x, int z, IntRandomizer randomizer) {
            return islandValue;
        }
    };
    this.suppressDiagonals = suppressDiagonals;
    this.layerName = layerName;
}
项目:Geographicraft    文件:GenLayerOceanicIslands.java   
public GenLayerOceanicIslands(long p_i45480_1_, GenLayer p_i45480_3_, int milleFill,
            IslandClimateMaker island,boolean suppressDiagonals, String layerName){
    super(p_i45480_1_);
    this.parent = p_i45480_3_;
    this.milleFill = milleFill;
    this.island = island;
    this.suppressDiagonals = suppressDiagonals;
    this.layerName = layerName;
}
项目:Geographicraft    文件:GenLayerPrettyShore.java   
public GenLayerPrettyShore(long par1, GenLayer par3GenLayer, float maxChasm, ClimateControlRules rules)
{
    super(par1);
    this.parent = par3GenLayer;
    this.maxChasm = maxChasm;
    this.rules = rules;
}
项目:Geographicraft    文件:GenLayerBiomeByTaggedClimate.java   
public GenLayerBiomeByTaggedClimate(long par1, GenLayer par3GenLayer, ClimateControlSettings settings){
    super(par1);
    this.parent = par3GenLayer;

    biomeRandomizer = new BiomeRandomizer(settings.biomeSettings());
    pickByClimate = biomeRandomizer.pickByClimate();
    randomCallback = new IntRandomizer() {
        public int nextInt(int maximum) {
            return GenLayerBiomeByTaggedClimate.this.nextInt(maximum);
        }
    };
    partitioners = settings.partitioners();
}
项目:PopularMMOS-EpicProportions-Mod    文件:GenLayerBiome.java   
public GenLayerBiome(long p_i2122_1_, GenLayer p_i2122_3_, WorldType p_i2122_4_)
{
    super(p_i2122_1_);

    this.parent = p_i2122_3_;

    this.desertBiomes.addAll(BiomeManager.desertBiomes);
    this.warmBiomes.addAll(BiomeManager.warmBiomes);
    this.coolBiomes.addAll(BiomeManager.coolBiomes);
    this.icyBiomes.addAll(BiomeManager.icyBiomes);

    if (p_i2122_4_ == WorldType.DEFAULT_1_1)
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.forest, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.extremeHills, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.swampland, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.taiga, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
    else
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 30));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.savanna, 20));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomeJen, 10));
    }
}
项目:Geographicraft    文件:GenLayerRandomBiomes.java   
public GenLayerRandomBiomes(long par1, GenLayer par3GenLayer, ClimateControlSettings settings){
    super(par1);
    this.parent = par3GenLayer;

    biomeRandomizer = new BiomeRandomizer(settings.biomeSettings());
    randomCallback = new IntRandomizer() {
        public int nextInt(int maximum) {
            return GenLayerRandomBiomes.this.nextInt(maximum);
        }
    };
}
项目:PopularMMOS-EpicProportions-Mod    文件:PatGenLayerBiome.java   
public PatGenLayerBiome(long p_i2122_1_, GenLayer p_i2122_3_, WorldType p_i2122_4_)
{
    super(p_i2122_1_);

    this.parent = p_i2122_3_;

    this.desertBiomes.addAll(BiomeManager.desertBiomes);
    this.warmBiomes.addAll(BiomeManager.warmBiomes);
    this.coolBiomes.addAll(BiomeManager.coolBiomes);
    this.icyBiomes.addAll(BiomeManager.icyBiomes);

    if (p_i2122_4_ == WorldType.DEFAULT_1_1)
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.forest, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.extremeHills, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.swampland, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.taiga, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
    }
    else
    {
        desertBiomes.add(new BiomeEntry(BiomeGenBase.desert, 30));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.savanna, 20));
        desertBiomes.add(new BiomeEntry(BiomeGenBase.plains, 10));
        desertBiomes.add(new BiomeEntry(BiomeRegistry.biomePat, 10));
    }
}
项目:Geographicraft    文件:GenLayerZoomBiome.java   
/**
 * Magnify a layer. Parms are seed adjustment, layer, number of times to magnify
 */
public static GenLayer magnify(long par0, GenLayer par2GenLayer, int par3)
{
    Object object = par2GenLayer;

    for (int k = 0; k < par3; ++k)
    {
        object = new GenLayerZoomBiome(par0 + (long)k, (GenLayer)object);
    }

    return (GenLayer)object;
}
项目:Geographicraft    文件:LockGenLayer.java   
public LockGenLayer(String targetName, Filter<GenLayer> targetLayerDetector,
        Acceptor<LockGenLayer> generator) {
    super("Locked"+targetName+"Dimension",PlaneLocated.streamer(Streamer.ofInt()));
    this.targetName = targetName;
    this.targetLayerDetector = targetLayerDetector;
    this.generator = generator;
}
项目:Geographicraft    文件:GenLayerAdjustIsland.java   
public GenLayerAdjustIsland(long par1, GenLayer par3GenLayer,
        int maxLandAdvance, int minSeaAdvance, int changeChances, boolean separate){
    super(par1);
    this.parent = par3GenLayer;
    this.changeChances = changeChances;
    this.maxLandAdvance = maxLandAdvance;
    this.minSeaAdvance = minSeaAdvance;
    this.separate = separate;
}
项目:Geographicraft    文件:GenLayerRiverMixWrapper.java   
private static GenLayer dummyGenLayer() {
    return new GenLayer(0L) {

        @Override
        public int[] getInts(int var1, int var2, int var3, int var4) {
            return new int [var3*var4];
        }

    };
}
项目:Geographicraft    文件:GenLayerRiverMixWrapper.java   
public void setOriginal(GenLayer target) {
    if (original == null) {
        //original = new LockableRiverMix(target);
        original = new LockableRiverMix(new GenLayerConstant(0));
        redirect = original;
    }
}
项目:EvilOcean    文件:WorldChunkManagerOcean.java   
public WorldChunkManagerOcean(long par1, WorldType par3WorldType, World world) {
    GenLayer[] agenlayer = GenLayerOcean.initializeAllBiomeGenerators(par1, par3WorldType);
    agenlayer = getModdedBiomeGenerators(par3WorldType, par1, agenlayer);
    this.genBiomes = agenlayer[0];
    this.biomeIndexLayer = agenlayer[1];
    this.world = world;
}
项目:Geographicraft    文件:GenLayerLowlandRiverMix.java   
public GenLayerLowlandRiverMix(long par1, GenLayer par3GenLayer, GenLayer par4GenLayer, float maxChasm,
        ClimateControlRules rules)
{
    super(par1,par3GenLayer,par4GenLayer);
    if (!(par3GenLayer instanceof GenLayerPack)) throw new RuntimeException();
    if (!(par4GenLayer instanceof GenLayerPack)) throw new RuntimeException();
    this.biomePatternGeneratorChain = par3GenLayer;
    this.riverPatternGeneratorChain = par4GenLayer;
    this.maxChasm= maxChasm;
    this.rules = rules;
}
项目:Geographicraft    文件:GenLayerIdentifiedClimate.java   
private GenLayerIdentifiedClimate(long par1, GenLayer par3GenLayer,int hot, int warm, int cold, int snow)
{
    super(par1);
    this.parent = par3GenLayer;
    this.hotLevel = hot;
    this.warmLevel = hot + warm;
    this.coldLevel = hot + warm + cold;
    this.totalLevel = hot + warm + cold + snow;
}
项目:Geographicraft    文件:GenLayerBandedClimate.java   
public GenLayerBandedClimate(long par1, GenLayer par3GenLayer,ClimateControlSettings settings, int multiplier)
{
    super(par1);
    this.parent = par3GenLayer;
    this.offset = settings.bandedClimateOffset.value()*multiplier -multiplier/2;
    this.bandWidth = settings.bandedClimateWidth.value()*multiplier;
    bandClimate[0] = 2;// warm
    bandClimate[1] = 1;// hot
    bandClimate[2] = 2;// warm
    bandClimate[3] = 3;// cool
    bandClimate[4] = 4;// snowy
    bandClimate[5] = 3;// cool
    this.frozenIcecaps = settings.frozenIcecaps.value();
    this.separateLandmasses = settings.separateLandmasses.value();
}
项目:Geographicraft    文件:LockGenLayer.java   
public static void showGenLayers(GenLayer top) {
    GenLayer parent = top; 
    GenLayer current = null;
    while (parent != null) {
        current = parent;
        logger.info(current.toString());
        parent = parent(current);
    }
}