YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.biome.BiomeGenBase Class Reference
Inheritance diagram for net.minecraft.world.biome.BiomeGenBase:
net.minecraft.world.biome.BiomeGenBeach net.minecraft.world.biome.BiomeGenDesert net.minecraft.world.biome.BiomeGenEnd net.minecraft.world.biome.BiomeGenForest net.minecraft.world.biome.BiomeGenHell net.minecraft.world.biome.BiomeGenHills net.minecraft.world.biome.BiomeGenJungle net.minecraft.world.biome.BiomeGenMushroomIsland net.minecraft.world.biome.BiomeGenOcean net.minecraft.world.biome.BiomeGenPlains net.minecraft.world.biome.BiomeGenRiver net.minecraft.world.biome.BiomeGenSnow net.minecraft.world.biome.BiomeGenSwamp net.minecraft.world.biome.BiomeGenTaiga

Public Member Functions

 BiomeGenBase (int par1)
 
BiomeDecorator createBiomeDecorator ()
 
BiomeGenBase setTemperatureRainfall (float par1, float par2)
 
BiomeGenBase setMinMaxHeight (float par1, float par2)
 
BiomeGenBase setDisableRain ()
 
WorldGenerator getRandomWorldGenForTrees (Random par1Random)
 
WorldGenerator getRandomWorldGenForGrass (Random par1Random)
 
BiomeGenBase setEnableSnow ()
 
BiomeGenBase setBiomeName (String par1Str)
 
BiomeGenBase func_76733_a (int par1)
 
BiomeGenBase setColor (int par1)
 
int getSkyColorByTemp (float par1)
 
List getSpawnableList (EnumCreatureType par1EnumCreatureType)
 
boolean getEnableSnow ()
 
boolean canSpawnLightningBolt ()
 
boolean isHighHumidity ()
 
float getSpawningChance ()
 
final int getIntRainfall ()
 
final int getIntTemperature ()
 
final float getFloatRainfall ()
 
final float getFloatTemperature ()
 
void decorate (World par1World, Random par2Random, int par3, int par4)
 
int getBiomeGrassColor ()
 
int getBiomeFoliageColor ()
 
BiomeDecorator getModdedBiomeDecorator (BiomeDecorator original)
 
int getWaterColorMultiplier ()
 
int getModdedBiomeGrassColor (int original)
 
int getModdedBiomeFoliageColor (int original)
 

Public Attributes

String biomeName
 
int color
 
byte topBlock
 
byte fillerBlock
 
int field_76754_C
 
float minHeight
 
float maxHeight
 
float temperature
 
float rainfall
 
int waterColorMultiplier
 
BiomeDecorator theBiomeDecorator
 
final int biomeID
 

Static Public Attributes

static final BiomeGenBase[] biomeList = new BiomeGenBase[256]
 
static final BiomeGenBase ocean = (new BiomeGenOcean(0)).setColor(112).setBiomeName("Ocean").setMinMaxHeight(-1.0F, 0.4F)
 
static final BiomeGenBase plains = (new BiomeGenPlains(1)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F)
 
static final BiomeGenBase desert = (new BiomeGenDesert(2)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F)
 
static final BiomeGenBase extremeHills = (new BiomeGenHills(3)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F)
 
static final BiomeGenBase forest = (new BiomeGenForest(4)).setColor(353825).setBiomeName("Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F)
 
static final BiomeGenBase taiga = (new BiomeGenTaiga(5)).setColor(747097).setBiomeName("Taiga").func_76733_a(5159473).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.1F, 0.4F)
 
static final BiomeGenBase swampland = (new BiomeGenSwamp(6)).setColor(522674).setBiomeName("Swampland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F)
 
static final BiomeGenBase river = (new BiomeGenRiver(7)).setColor(255).setBiomeName("River").setMinMaxHeight(-0.5F, 0.0F)
 
static final BiomeGenBase hell = (new BiomeGenHell(8)).setColor(16711680).setBiomeName("Hell").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)
 
static final BiomeGenBase sky = (new BiomeGenEnd(9)).setColor(8421631).setBiomeName("Sky").setDisableRain()
 
static final BiomeGenBase frozenOcean = (new BiomeGenOcean(10)).setColor(9474208).setBiomeName("FrozenOcean").setEnableSnow().setMinMaxHeight(-1.0F, 0.5F).setTemperatureRainfall(0.0F, 0.5F)
 
static final BiomeGenBase frozenRiver = (new BiomeGenRiver(11)).setColor(10526975).setBiomeName("FrozenRiver").setEnableSnow().setMinMaxHeight(-0.5F, 0.0F).setTemperatureRainfall(0.0F, 0.5F)
 
static final BiomeGenBase icePlains = (new BiomeGenSnow(12)).setColor(16777215).setBiomeName("Ice Plains").setEnableSnow().setTemperatureRainfall(0.0F, 0.5F)
 
static final BiomeGenBase iceMountains = (new BiomeGenSnow(13)).setColor(10526880).setBiomeName("Ice Mountains").setEnableSnow().setMinMaxHeight(0.3F, 1.3F).setTemperatureRainfall(0.0F, 0.5F)
 
static final BiomeGenBase mushroomIsland = (new BiomeGenMushroomIsland(14)).setColor(16711935).setBiomeName("MushroomIsland").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(0.2F, 1.0F)
 
static final BiomeGenBase mushroomIslandShore = (new BiomeGenMushroomIsland(15)).setColor(10486015).setBiomeName("MushroomIslandShore").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(-1.0F, 0.1F)
 
static final BiomeGenBase beach = (new BiomeGenBeach(16)).setColor(16440917).setBiomeName("Beach").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.1F)
 
static final BiomeGenBase desertHills = (new BiomeGenDesert(17)).setColor(13786898).setBiomeName("DesertHills").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.8F)
 
static final BiomeGenBase forestHills = (new BiomeGenForest(18)).setColor(2250012).setBiomeName("ForestHills").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.3F, 0.7F)
 
static final BiomeGenBase taigaHills = (new BiomeGenTaiga(19)).setColor(1456435).setBiomeName("TaigaHills").setEnableSnow().func_76733_a(5159473).setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.3F, 0.8F)
 
static final BiomeGenBase extremeHillsEdge = (new BiomeGenHills(20)).setColor(7501978).setBiomeName("Extreme Hills Edge").setMinMaxHeight(0.2F, 0.8F).setTemperatureRainfall(0.2F, 0.3F)
 
static final BiomeGenBase jungle = (new BiomeGenJungle(21)).setColor(5470985).setBiomeName("Jungle").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.2F, 0.4F)
 
static final BiomeGenBase jungleHills = (new BiomeGenJungle(22)).setColor(2900485).setBiomeName("JungleHills").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(1.8F, 0.5F)
 

Protected Attributes

List spawnableMonsterList
 
List spawnableCreatureList
 
List spawnableWaterCreatureList
 
List spawnableCaveCreatureList
 
WorldGenTrees worldGeneratorTrees
 
WorldGenBigTree worldGeneratorBigTree
 
WorldGenForest worldGeneratorForest
 
WorldGenSwamp worldGeneratorSwamp
 

Constructor & Destructor Documentation

net.minecraft.world.biome.BiomeGenBase.BiomeGenBase ( int  par1)

Member Function Documentation

boolean net.minecraft.world.biome.BiomeGenBase.canSpawnLightningBolt ( )

Return true if the biome supports lightning bolt spawn, either by have the bolts enabled and have rain enabled.

BiomeDecorator net.minecraft.world.biome.BiomeGenBase.createBiomeDecorator ( )

Allocate a new BiomeDecorator for this BiomeGenBase

void net.minecraft.world.biome.BiomeGenBase.decorate ( World  par1World,
Random  par2Random,
int  par3,
int  par4 
)
BiomeGenBase net.minecraft.world.biome.BiomeGenBase.func_76733_a ( int  par1)
int net.minecraft.world.biome.BiomeGenBase.getBiomeFoliageColor ( )

Provides the basic foliage color based on the biome temperature and rainfall

int net.minecraft.world.biome.BiomeGenBase.getBiomeGrassColor ( )

Provides the basic grass color based on the biome temperature and rainfall

boolean net.minecraft.world.biome.BiomeGenBase.getEnableSnow ( )

Returns true if the biome have snowfall instead a normal rain.

final float net.minecraft.world.biome.BiomeGenBase.getFloatRainfall ( )

Gets a floating point representation of this biome's rainfall

final float net.minecraft.world.biome.BiomeGenBase.getFloatTemperature ( )

Gets a floating point representation of this biome's temperature

final int net.minecraft.world.biome.BiomeGenBase.getIntRainfall ( )

Gets an integer representation of this biome's rainfall

final int net.minecraft.world.biome.BiomeGenBase.getIntTemperature ( )

Gets an integer representation of this biome's temperature

BiomeDecorator net.minecraft.world.biome.BiomeGenBase.getModdedBiomeDecorator ( BiomeDecorator  original)
int net.minecraft.world.biome.BiomeGenBase.getModdedBiomeFoliageColor ( int  original)
int net.minecraft.world.biome.BiomeGenBase.getModdedBiomeGrassColor ( int  original)
WorldGenerator net.minecraft.world.biome.BiomeGenBase.getRandomWorldGenForGrass ( Random  par1Random)

Gets a WorldGen appropriate for this biome.

WorldGenerator net.minecraft.world.biome.BiomeGenBase.getRandomWorldGenForTrees ( Random  par1Random)

Gets a WorldGen appropriate for this biome.

int net.minecraft.world.biome.BiomeGenBase.getSkyColorByTemp ( float  par1)

takes temperature, returns color

List net.minecraft.world.biome.BiomeGenBase.getSpawnableList ( EnumCreatureType  par1EnumCreatureType)

Returns the correspondent list of the EnumCreatureType informed.

float net.minecraft.world.biome.BiomeGenBase.getSpawningChance ( )

returns the chance a creature has to spawn.

int net.minecraft.world.biome.BiomeGenBase.getWaterColorMultiplier ( )
boolean net.minecraft.world.biome.BiomeGenBase.isHighHumidity ( )

Checks to see if the rainfall level of the biome is extremely high

BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setBiomeName ( String  par1Str)
BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setColor ( int  par1)
BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setDisableRain ( )

Disable the rain for the biome.

BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setEnableSnow ( )

sets enableSnow to true during biome initialization. returns BiomeGenBase.

BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setMinMaxHeight ( float  par1,
float  par2 
)

Sets the minimum and maximum height of this biome. Seems to go from -2.0 to 2.0.

BiomeGenBase net.minecraft.world.biome.BiomeGenBase.setTemperatureRainfall ( float  par1,
float  par2 
)

Sets the temperature and rainfall of this biome.

Member Data Documentation

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.beach = (new BiomeGenBeach(16)).setColor(16440917).setBiomeName("Beach").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.1F)
static

Beach biome.

final int net.minecraft.world.biome.BiomeGenBase.biomeID

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

final BiomeGenBase [] net.minecraft.world.biome.BiomeGenBase.biomeList = new BiomeGenBase[256]
static

An array of all the biomes, indexed by biome id.

String net.minecraft.world.biome.BiomeGenBase.biomeName
int net.minecraft.world.biome.BiomeGenBase.color
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.desert = (new BiomeGenDesert(2)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.desertHills = (new BiomeGenDesert(17)).setColor(13786898).setBiomeName("DesertHills").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.8F)
static

Desert Hills biome.

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.extremeHills = (new BiomeGenHills(3)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.extremeHillsEdge = (new BiomeGenHills(20)).setColor(7501978).setBiomeName("Extreme Hills Edge").setMinMaxHeight(0.2F, 0.8F).setTemperatureRainfall(0.2F, 0.3F)
static

Extreme Hills Edge biome.

int net.minecraft.world.biome.BiomeGenBase.field_76754_C
byte net.minecraft.world.biome.BiomeGenBase.fillerBlock

The block to fill spots in when not on the top

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.forest = (new BiomeGenForest(4)).setColor(353825).setBiomeName("Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.forestHills = (new BiomeGenForest(18)).setColor(2250012).setBiomeName("ForestHills").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F).setMinMaxHeight(0.3F, 0.7F)
static

Forest Hills biome.

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.frozenOcean = (new BiomeGenOcean(10)).setColor(9474208).setBiomeName("FrozenOcean").setEnableSnow().setMinMaxHeight(-1.0F, 0.5F).setTemperatureRainfall(0.0F, 0.5F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.frozenRiver = (new BiomeGenRiver(11)).setColor(10526975).setBiomeName("FrozenRiver").setEnableSnow().setMinMaxHeight(-0.5F, 0.0F).setTemperatureRainfall(0.0F, 0.5F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.hell = (new BiomeGenHell(8)).setColor(16711680).setBiomeName("Hell").setDisableRain().setTemperatureRainfall(2.0F, 0.0F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.iceMountains = (new BiomeGenSnow(13)).setColor(10526880).setBiomeName("Ice Mountains").setEnableSnow().setMinMaxHeight(0.3F, 1.3F).setTemperatureRainfall(0.0F, 0.5F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.icePlains = (new BiomeGenSnow(12)).setColor(16777215).setBiomeName("Ice Plains").setEnableSnow().setTemperatureRainfall(0.0F, 0.5F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.jungle = (new BiomeGenJungle(21)).setColor(5470985).setBiomeName("Jungle").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.2F, 0.4F)
static

Jungle biome identifier

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.jungleHills = (new BiomeGenJungle(22)).setColor(2900485).setBiomeName("JungleHills").func_76733_a(5470985).setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(1.8F, 0.5F)
static
float net.minecraft.world.biome.BiomeGenBase.maxHeight

The maximum height of this biome. Default 0.3.

float net.minecraft.world.biome.BiomeGenBase.minHeight

The minimum height of this biome. Default 0.1.

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.mushroomIsland = (new BiomeGenMushroomIsland(14)).setColor(16711935).setBiomeName("MushroomIsland").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(0.2F, 1.0F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.mushroomIslandShore = (new BiomeGenMushroomIsland(15)).setColor(10486015).setBiomeName("MushroomIslandShore").setTemperatureRainfall(0.9F, 1.0F).setMinMaxHeight(-1.0F, 0.1F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.ocean = (new BiomeGenOcean(0)).setColor(112).setBiomeName("Ocean").setMinMaxHeight(-1.0F, 0.4F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.plains = (new BiomeGenPlains(1)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F)
static
float net.minecraft.world.biome.BiomeGenBase.rainfall

The rainfall in this biome.

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.river = (new BiomeGenRiver(7)).setColor(255).setBiomeName("River").setMinMaxHeight(-0.5F, 0.0F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.sky = (new BiomeGenEnd(9)).setColor(8421631).setBiomeName("Sky").setDisableRain()
static

Is the biome used for sky world.

List net.minecraft.world.biome.BiomeGenBase.spawnableCaveCreatureList
protected
List net.minecraft.world.biome.BiomeGenBase.spawnableCreatureList
protected

Holds the classes of any creature that can be spawned in the biome as friendly creature.

List net.minecraft.world.biome.BiomeGenBase.spawnableMonsterList
protected

Holds the classes of IMobs (hostile mobs) that can be spawned in the biome.

List net.minecraft.world.biome.BiomeGenBase.spawnableWaterCreatureList
protected

Holds the classes of any aquatic creature that can be spawned in the water of the biome.

final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.swampland = (new BiomeGenSwamp(6)).setColor(522674).setBiomeName("Swampland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.taiga = (new BiomeGenTaiga(5)).setColor(747097).setBiomeName("Taiga").func_76733_a(5159473).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.1F, 0.4F)
static
final BiomeGenBase net.minecraft.world.biome.BiomeGenBase.taigaHills = (new BiomeGenTaiga(19)).setColor(1456435).setBiomeName("TaigaHills").setEnableSnow().func_76733_a(5159473).setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.3F, 0.8F)
static

Taiga Hills biome.

float net.minecraft.world.biome.BiomeGenBase.temperature

The temperature of this biome.

BiomeDecorator net.minecraft.world.biome.BiomeGenBase.theBiomeDecorator

The biome decorator.

byte net.minecraft.world.biome.BiomeGenBase.topBlock

The block expected to be on the top of this biome

int net.minecraft.world.biome.BiomeGenBase.waterColorMultiplier

Color tint applied to water depending on biome

WorldGenBigTree net.minecraft.world.biome.BiomeGenBase.worldGeneratorBigTree
protected

The big tree generator.

WorldGenForest net.minecraft.world.biome.BiomeGenBase.worldGeneratorForest
protected

The forest generator.

WorldGenSwamp net.minecraft.world.biome.BiomeGenBase.worldGeneratorSwamp
protected

The swamp tree generator.

WorldGenTrees net.minecraft.world.biome.BiomeGenBase.worldGeneratorTrees
protected

The tree generator.


The documentation for this class was generated from the following file: