Class BiomeGenBase

    • Constructor Detail

      • BiomeGenBase

        protected BiomeGenBase​(int id)
    • Method Detail

      • setTemperatureRainfall

        protected BiomeGenBase setTemperatureRainfall​(float temperatureIn,
                                                      float rainfallIn)
        + Sets the temperature and rainfall of this biome.
      • setDisableRain

        protected BiomeGenBase setDisableRain()
        + Disable the rain for the biome.
      • setEnableSnow

        protected BiomeGenBase setEnableSnow()
        + sets enableSnow to true during biome initialization. returns BiomeGenBase.
      • setBiomeName

        protected BiomeGenBase setBiomeName​(java.lang.String name)
      • setFillerBlockMetadata

        protected BiomeGenBase setFillerBlockMetadata​(int meta)
      • setColor

        protected BiomeGenBase setColor​(int colorIn)
      • func_150563_c

        protected BiomeGenBase func_150563_c​(int parInt1)
      • func_150557_a

        protected BiomeGenBase func_150557_a​(int parInt1,
                                             boolean parFlag)
      • getSkyColorByTemp

        public int getSkyColorByTemp​(float parFloat1)
        + takes temperature, returns color
      • getEnableSnow

        public boolean getEnableSnow()
        + Returns true if the biome have snowfall instead a normal rain.
      • canSpawnLightningBolt

        public boolean canSpawnLightningBolt()
        + Return true if the biome supports lightning bolt spawn, either by have the bolts enabled and have rain enabled.
      • isHighHumidity

        public boolean isHighHumidity()
        + Checks to see if the rainfall level of the biome is extremely high
      • getSpawningChance

        public float getSpawningChance()
        + returns the chance a creature has to spawn.
      • getIntRainfall

        public final int getIntRainfall()
        + Gets an integer representation of this biome's rainfall
      • getFloatRainfall

        public final float getFloatRainfall()
        + Gets a floating point representation of this biome's rainfall
      • getFloatTemperature

        public final float getFloatTemperature​(BlockPos pos)
        + Gets a floating point representation of this biome's temperature
      • getGrassColorAtPos

        public int getGrassColorAtPos​(BlockPos pos)
      • getFoliageColorAtPos

        public int getFoliageColorAtPos​(BlockPos pos)
      • isSnowyBiome

        public boolean isSnowyBiome()
      • genTerrainBlocks

        public void genTerrainBlocks​(World worldIn,
                                     EaglercraftRandom rand,
                                     ChunkPrimer chunkPrimerIn,
                                     int parInt1,
                                     int parInt2,
                                     double parDouble1)
      • generateBiomeTerrain

        public final void generateBiomeTerrain​(World worldIn,
                                               EaglercraftRandom rand,
                                               ChunkPrimer chunkPrimerIn,
                                               int parInt1,
                                               int parInt2,
                                               double parDouble1)
      • createMutation

        protected BiomeGenBase createMutation()
        + Creates a mutated version of the biome and places it into the biomeList with an index equal to the original plus 128
      • createMutatedBiome

        protected BiomeGenBase createMutatedBiome​(int parInt1)
      • getBiomeClass

        public java.lang.Class<? extends BiomeGenBase> getBiomeClass()
      • isEqualTo

        public boolean isEqualTo​(BiomeGenBase biome)
        + returns true if the biome specified is equal to this biome
      • getBiomeGenArray

        public static BiomeGenBase[] getBiomeGenArray()
      • getBiome

        public static BiomeGenBase getBiome​(int id)
        + return the biome specified by biomeID, or 0 (ocean) if out of bounds
      • bootstrap

        public static void bootstrap()