Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
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 Summary
`static BiomeGenBase` | `beach` Beach biome.
`int` | `biomeID` The id number to this biome, and its index in the biomeList array.
`static BiomeGenBase[]` | `biomeList` An array of all the biomes, indexed by biome id.
`String` | `biomeName`
`int` | `color`
`static BiomeGenBase` | `desert`
`static BiomeGenBase` | `desertHills` Desert Hills biome.
`static BiomeGenBase` | `extremeHills`
`static BiomeGenBase` | `extremeHillsEdge` Extreme Hills Edge biome.
`int` | `field_76754_C`
`byte` | `fillerBlock` The block to fill spots in when not on the top
`static BiomeGenBase` | `forest`
`static BiomeGenBase` | `forestHills` Forest Hills biome.
`static BiomeGenBase` | `frozenOcean`
`static BiomeGenBase` | `frozenRiver`
`static BiomeGenBase` | `hell`
`static BiomeGenBase` | `iceMountains`
`static BiomeGenBase` | `icePlains`
`static BiomeGenBase` | `jungle` Jungle biome identifier
`static BiomeGenBase` | `jungleHills`
`float` | `maxHeight` The maximum height of this biome.
`float` | `minHeight` The minimum height of this biome.
`static BiomeGenBase` | `mushroomIsland`
`static BiomeGenBase` | `mushroomIslandShore`
`static BiomeGenBase` | `ocean`
`static BiomeGenBase` | `plains`
`float` | `rainfall` The rainfall in this biome.
`static BiomeGenBase` | `river`
`static BiomeGenBase` | `sky` Is the biome used for sky world.
`static BiomeGenBase` | `swampland`
`static BiomeGenBase` | `taiga`
`static BiomeGenBase` | `taigaHills` Taiga Hills biome.
`float` | `temperature` The temperature of this biome.
`BiomeDecorator` | `theBiomeDecorator` The biome decorator.
`byte` | `topBlock` The block expected to be on the top of this biome
`int` | `waterColorMultiplier` Color tint applied to water depending on biome

Method Summary
`boolean` | `canSpawnLightningBolt()` Return true if the biome supports lightning bolt spawn, either by have the bolts enabled and have rain enabled.
`void` | `decorate(World par1World, Random par2Random, int par3, int par4)`
`int` | `getBiomeFoliageColor()`
`int` | `getBiomeGrassColor()`
`boolean` | `getEnableSnow()` Returns true if the biome have snowfall instead a normal rain.
`float` | `getFloatRainfall()`
`float` | `getFloatTemperature()` Gets a floating point representation of this biome's temperature
`int` | `getIntRainfall()` Gets an integer representation of this biome's rainfall
`int` | `getIntTemperature()` Gets an integer representation of this biome's temperature
`WorldGenerator` | `getRandomWorldGenForGrass(Random par1Random)` Gets a WorldGen appropriate for this biome.
`WorldGenerator` | `getRandomWorldGenForTrees(Random par1Random)` Gets a WorldGen appropriate for this biome.
`int` | `getSkyColorByTemp(float par1)`
`List` | `getSpawnableList(EnumCreatureType par1EnumCreatureType)` Returns the correspondent list of the EnumCreatureType informed.
`float` | `getSpawningChance()` returns the chance a creature has to spawn.
`boolean` | `isHighHumidity()` Checks to see if the rainfall level of the biome is extremely high

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### 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

  Desert Hills biome.

### forestHills

    public static final BiomeGenBase forestHills

  Forest Hills biome.

### taigaHills

    public static final BiomeGenBase taigaHills

  Taiga Hills biome.

### extremeHillsEdge

    public static final BiomeGenBase extremeHillsEdge

  Extreme Hills Edge biome.

### jungle

    public static final BiomeGenBase jungle

  Jungle biome identifier

### jungleHills

    public static final BiomeGenBase jungleHills

### biomeName

    public String biomeName

### color

    public int color

### topBlock

    public byte topBlock

  The block expected to be on the top of this biome

### fillerBlock

    public byte fillerBlock

  The block to fill spots in when not on the top

### 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.

### biomeID

    public final int biomeID

  The id number to this biome, and its index in the biomeList array.

Method Detail

### 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.

### getSkyColorByTemp

    public int getSkyColorByTemp(float par1)

### 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.

### 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

### getIntTemperature

    public final int getIntTemperature()

  Gets an integer representation of this biome's temperature

### getFloatRainfall

    public final float getFloatRainfall()

### 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()

### getBiomeFoliageColor

    public int getBiomeFoliageColor()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD