Class BiomeGenBase

java.lang.Object
net.minecraft.src.BiomeGenBase
Direct Known Subclasses:
BiomeGenBeach, BiomeGenDesert, BiomeGenEnd, BiomeGenForest, BiomeGenHell, BiomeGenHills, BiomeGenJungle, BiomeGenMushroomIsland, BiomeGenOcean, BiomeGenPlains, BiomeGenRiver, BiomeGenSnow, BiomeGenSwamp, BiomeGenTaiga

public abstract class BiomeGenBase extends Object
  • Field Details

    • biomeList

      public static final BiomeGenBase[] biomeList
      An array of all the biomes, indexed by biome id.
    • ocean

      public static final BiomeGenBase ocean
    • plains

      public static final BiomeGenBase plains
    • desert

      public static final BiomeGenBase desert
    • extremeHills

      public static final BiomeGenBase extremeHills
    • forest

      public static final BiomeGenBase forest
    • taiga

      public static final BiomeGenBase taiga
    • swampland

      public static final BiomeGenBase swampland
    • river

      public static final BiomeGenBase river
    • hell

      public static final BiomeGenBase hell
    • sky

      public static final BiomeGenBase sky
      Is the biome used for sky world.
    • frozenOcean

      public static final BiomeGenBase frozenOcean
    • frozenRiver

      public static final BiomeGenBase frozenRiver
    • icePlains

      public static final BiomeGenBase icePlains
    • iceMountains

      public static final BiomeGenBase iceMountains
    • mushroomIsland

      public static final BiomeGenBase mushroomIsland
    • mushroomIslandShore

      public static final BiomeGenBase mushroomIslandShore
    • beach

      public static final BiomeGenBase beach
      Beach biome.
    • desertHills

      public static final BiomeGenBase desertHills
    • forestHills

      public static final BiomeGenBase forestHills
    • taigaHills

      public static final BiomeGenBase taigaHills
    • extremeHillsEdge

      public static final BiomeGenBase extremeHillsEdge
    • jungle

      public static final BiomeGenBase jungle
    • jungleHills

      public static final BiomeGenBase jungleHills
    • biomeName

      public String biomeName
    • color

      public int color
    • topBlock

      public short topBlock
      The block expected to be on the top of this biome
    • topBlockMetadata

      public byte topBlockMetadata
    • fillerBlock

      public short fillerBlock
      The block to fill spots in when not on the top
    • fillerBlockMetadata

      public byte fillerBlockMetadata
    • field_76754_C

      public int field_76754_C
    • minHeight

      public float minHeight
      The minimum height of this biome. Default 0.1.
    • maxHeight

      public float maxHeight
      The maximum height of this biome. Default 0.3.
    • temperature

      public float temperature
      The temperature of this biome.
    • rainfall

      public float rainfall
      The rainfall in this biome.
    • waterColorMultiplier

      public int waterColorMultiplier
      Color tint applied to water depending on biome
    • theBiomeDecorator

      public BiomeDecorator theBiomeDecorator
      The biome decorator.
    • spawnableMonsterList

      protected List spawnableMonsterList
      Holds the classes of IMobs (hostile mobs) that can be spawned in the biome.
    • spawnableCreatureList

      protected List spawnableCreatureList
      Holds the classes of any creature that can be spawned in the biome as friendly creature.
    • spawnableWaterCreatureList

      protected List spawnableWaterCreatureList
      Holds the classes of any aquatic creature that can be spawned in the water of the biome.
    • spawnableCaveCreatureList

      protected List spawnableCaveCreatureList
    • biomeID

      public final int biomeID
      The id number to this biome, and its index in the biomeList array.
    • worldGeneratorTrees

      protected WorldGenTrees worldGeneratorTrees
      The tree generator.
    • worldGeneratorBigTree

      protected WorldGenBigTree worldGeneratorBigTree
      The big tree generator.
    • worldGeneratorForest

      protected WorldGenForest worldGeneratorForest
      The forest generator.
    • worldGeneratorSwamp

      protected WorldGenSwamp worldGeneratorSwamp
      The swamp tree generator.
  • Constructor Details

    • BiomeGenBase

      protected BiomeGenBase(int par1)
  • Method Details

    • createBiomeDecorator

      protected BiomeDecorator createBiomeDecorator()
      Allocate a new BiomeDecorator for this BiomeGenBase
    • getRandomWorldGenForTrees

      public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
      Gets a WorldGen appropriate for this biome.
    • getRandomWorldGenForGrass

      public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
      Gets a WorldGen appropriate for this biome.
    • setEnableSnow

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

      protected BiomeGenBase setBiomeName(String par1Str)
    • func_76733_a

      protected BiomeGenBase func_76733_a(int par1)
    • setColor

      protected BiomeGenBase setColor(int par1)
    • getSkyColorByTemp

      public int getSkyColorByTemp(float par1)
      takes temperature, returns color
    • getSpawnableList

      public List getSpawnableList(EnumCreatureType par1EnumCreatureType)
      Returns the correspondent list of the EnumCreatureType informed.
    • getEnableSnow

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

      public boolean isHighHumidity()
      // +++START EDIT+++ // ---END EDIT--- 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
    • getIntTemperature

      public final int getIntTemperature()
      Gets an integer representation of this biome's temperature
    • getFloatRainfall

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

      public final float getFloatTemperature()
      Gets a floating point representation of this biome's temperature
    • decorate

      public void decorate(World par1World, Random par2Random, int par3, int par4)
    • getBiomeGrassColor

      public int getBiomeGrassColor()
      Provides the basic grass color based on the biome temperature and rainfall
    • getBiomeFoliageColor

      public int getBiomeFoliageColor()
      Provides the basic foliage color based on the biome temperature and rainfall
    • canRainInBiome

      public boolean canRainInBiome()
    • canLightningStrikeInBiome

      public boolean canLightningStrikeInBiome()
    • canSlimesSpawnOnSurface

      public boolean canSlimesSpawnOnSurface()
    • canSnowAt

      public boolean canSnowAt(World world, int x, int y, int z)