Package 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BiomeGenBaseBeach biome.final intThe id number to this biome, and its index in the biomeList array.static final BiomeGenBase[]An array of all the biomes, indexed by biome id.intstatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBaseintshortThe block to fill spots in when not on the topbytestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasefloatThe maximum height of this biome.floatThe minimum height of this biome.static final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasefloatThe rainfall in this biome.static final BiomeGenBasestatic final BiomeGenBaseIs the biome used for sky world.protected Listprotected ListHolds the classes of any creature that can be spawned in the biome as friendly creature.protected ListHolds the classes of IMobs (hostile mobs) that can be spawned in the biome.protected ListHolds the classes of any aquatic creature that can be spawned in the water of the biome.static final BiomeGenBasestatic final BiomeGenBasestatic final BiomeGenBasefloatThe temperature of this biome.The biome decorator.shortThe block expected to be on the top of this biomebyteintColor tint applied to water depending on biomeprotected WorldGenBigTreeThe big tree generator.protected WorldGenForestThe forest generator.protected WorldGenSwampThe swamp tree generator.protected WorldGenTreesThe tree generator. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanprotected BiomeDecoratorAllocate a new BiomeDecorator for this BiomeGenBasevoidprotected BiomeGenBasefunc_76733_a(int par1) intProvides the basic foliage color based on the biome temperature and rainfallintProvides the basic grass color based on the biome temperature and rainfallbooleanReturns true if the biome have snowfall instead a normal rain.final floatGets a floating point representation of this biome's rainfallfinal floatGets a floating point representation of this biome's temperaturefinal intGets an integer representation of this biome's rainfallfinal intGets an integer representation of this biome's temperaturegetRandomWorldGenForGrass(Random par1Random) Gets a WorldGen appropriate for this biome.getRandomWorldGenForTrees(Random par1Random) Gets a WorldGen appropriate for this biome.intgetSkyColorByTemp(float par1) takes temperature, returns colorgetSpawnableList(EnumCreatureType par1EnumCreatureType) Returns the correspondent list of the EnumCreatureType informed.floatreturns the chance a creature has to spawn.boolean// +++START EDIT+++ // ---END EDIT--- Checks to see if the rainfall level of the biome is extremely highprotected BiomeGenBasesetBiomeName(String par1Str) protected BiomeGenBasesetColor(int par1) protected BiomeGenBasesets enableSnow to true during biome initialization. returns BiomeGenBase.
-
Field Details
-
biomeList
An array of all the biomes, indexed by biome id. -
ocean
-
plains
-
desert
-
extremeHills
-
forest
-
taiga
-
swampland
-
river
-
hell
-
sky
Is the biome used for sky world. -
frozenOcean
-
frozenRiver
-
icePlains
-
iceMountains
-
mushroomIsland
-
mushroomIslandShore
-
beach
Beach biome. -
desertHills
-
forestHills
-
taigaHills
-
extremeHillsEdge
-
jungle
-
jungleHills
-
biomeName
-
color
public int color -
topBlock
public short topBlockThe block expected to be on the top of this biome -
topBlockMetadata
public byte topBlockMetadata -
fillerBlock
public short fillerBlockThe 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 minHeightThe minimum height of this biome. Default 0.1. -
maxHeight
public float maxHeightThe maximum height of this biome. Default 0.3. -
temperature
public float temperatureThe temperature of this biome. -
rainfall
public float rainfallThe rainfall in this biome. -
waterColorMultiplier
public int waterColorMultiplierColor tint applied to water depending on biome -
theBiomeDecorator
The biome decorator. -
spawnableMonsterList
Holds the classes of IMobs (hostile mobs) that can be spawned in the biome. -
spawnableCreatureList
Holds the classes of any creature that can be spawned in the biome as friendly creature. -
spawnableWaterCreatureList
Holds the classes of any aquatic creature that can be spawned in the water of the biome. -
spawnableCaveCreatureList
-
biomeID
public final int biomeIDThe id number to this biome, and its index in the biomeList array. -
worldGeneratorTrees
The tree generator. -
worldGeneratorBigTree
The big tree generator. -
worldGeneratorForest
The forest generator. -
worldGeneratorSwamp
The swamp tree generator.
-
-
Constructor Details
-
BiomeGenBase
protected BiomeGenBase(int par1)
-
-
Method Details
-
createBiomeDecorator
Allocate a new BiomeDecorator for this BiomeGenBase -
getRandomWorldGenForTrees
Gets a WorldGen appropriate for this biome. -
getRandomWorldGenForGrass
Gets a WorldGen appropriate for this biome. -
setEnableSnow
sets enableSnow to true during biome initialization. returns BiomeGenBase. -
setBiomeName
-
func_76733_a
-
setColor
-
getSkyColorByTemp
public int getSkyColorByTemp(float par1) takes temperature, returns color -
getSpawnableList
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
-
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
-