Package net.minecraft.src
Class BiomeDecorator
java.lang.Object
net.minecraft.src.BiomeDecorator
- All Implemented Interfaces:
BiomeDecoratorBase
- Direct Known Subclasses:
BiomeEndDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WorldGeneratorField that holds big mushroom generatorprotected intAmount of big mushrooms per chunkprotected BiomeGenBaseThe biome generator object.protected intThe number of cactus plants to generate per chunk.protected WorldGeneratorField that holds WorldGenCactusprotected intThe X-coordinate of the chunk currently being decoratedprotected intThe Z-coordinate of the chunk currently being decoratedprotected WorldGeneratorThe clay generator.protected intThe number of clay patches to generate per chunk.protected WorldGeneratorprotected WorldThe world the BiomeDecorator is currently decoratingprotected intThe number of dead bushes to generate per chunk.protected WorldGeneratorField that holds diamond WorldGenMinableprotected WorldGeneratorprotected WorldGeneratorThe dirt generator.protected intThe number of yellow flower patches to generate per chunk.booleanTrue if decorator should generate surface lava and waterprotected WorldGeneratorField that holds gold WorldGenMinableprotected intThe amount of tall grass to generate per chunk.protected WorldGeneratorThe gravel generator.protected WorldGeneratorprotected WorldGeneratorprotected WorldGeneratorField that holds Lapis WorldGenMinableprotected WorldGeneratorField that holds mushroomBrown WorldGenFlowersprotected WorldGeneratorField that holds mushroomRed WorldGenFlowersprotected intThe number of extra mushroom patches per chunk.protected WorldGeneratorField that holds one of the plantRed WorldGenFlowersprotected WorldGeneratorField that holds one of the plantYellow WorldGenFlowersprotected RandomThe Biome Decorator's random number generator.protected WorldGeneratorField that holds redstone WorldGenMinableField that holds WorldGenReedprotected intThe number of reeds to generate per chunk.protected WorldGeneratorThe sand generator.protected intThe number of sand patches to generate per chunk.protected intThe number of sand patches to generate per chunk.protected intThe number of trees to attempt to generate per chunk.protected WorldGeneratorThe water lily generation!protected intAmount of waterlilys per chunk. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecorate()The method that does the work of actually decorating chunksvoidDecorates the world.protected voidGenerates ores in the current chunkprotected voidgenModdedOre(int count, WorldGenerator worldGenerator, int minHeight, int maxHeight) protected voidgenStandardOre1(int par1, WorldGenerator par2WorldGenerator, int par3, int par4) Standard ore generation helper.protected voidgenStandardOre2(int par1, WorldGenerator par2WorldGenerator, int par3, int par4) Standard ore generation helper.
-
Field Details
-
currentWorld
The world the BiomeDecorator is currently decorating -
randomGenerator
The Biome Decorator's random number generator. -
chunk_X
protected int chunk_XThe X-coordinate of the chunk currently being decorated -
chunk_Z
protected int chunk_ZThe Z-coordinate of the chunk currently being decorated -
biome
The biome generator object. -
clayGen
The clay generator. -
sandGen
The sand generator. -
gravelAsSandGen
The gravel generator. -
dirtGen
The dirt generator. -
gravelGen
-
coalGen
-
ironGen
-
goldGen
Field that holds gold WorldGenMinable -
redstoneGen
Field that holds redstone WorldGenMinable -
diamondGen
Field that holds diamond WorldGenMinable -
diamondGenAirExposed
-
lapisGen
Field that holds Lapis WorldGenMinable -
plantYellowGen
Field that holds one of the plantYellow WorldGenFlowers -
plantRedGen
Field that holds one of the plantRed WorldGenFlowers -
mushroomBrownGen
Field that holds mushroomBrown WorldGenFlowers -
mushroomRedGen
Field that holds mushroomRed WorldGenFlowers -
bigMushroomGen
Field that holds big mushroom generator -
reedGen
Field that holds WorldGenReed -
cactusGen
Field that holds WorldGenCactus -
waterlilyGen
The water lily generation! -
waterlilyPerChunk
protected int waterlilyPerChunkAmount of waterlilys per chunk. -
treesPerChunk
protected int treesPerChunkThe number of trees to attempt to generate per chunk. Up to 10 in forests, none in deserts. -
flowersPerChunk
protected int flowersPerChunkThe number of yellow flower patches to generate per chunk. The game generates much less than this number, since it attempts to generate them at a random altitude. -
grassPerChunk
protected int grassPerChunkThe amount of tall grass to generate per chunk. -
deadBushPerChunk
protected int deadBushPerChunkThe number of dead bushes to generate per chunk. Used in deserts and swamps. -
mushroomsPerChunk
protected int mushroomsPerChunkThe number of extra mushroom patches per chunk. It generates 1/4 this number in brown mushroom patches, and 1/8 this number in red mushroom patches. These mushrooms go beyond the default base number of mushrooms. -
reedsPerChunk
protected int reedsPerChunkThe number of reeds to generate per chunk. Reeds won't generate if the randomly selected placement is unsuitable. -
cactiPerChunk
protected int cactiPerChunkThe number of cactus plants to generate per chunk. Cacti only work on sand. -
sandPerChunk
protected int sandPerChunkThe number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. -
sandPerChunk2
protected int sandPerChunk2The number of sand patches to generate per chunk. Sand patches only generate when part of it is underwater. There appear to be two separate fields for this. -
clayPerChunk
protected int clayPerChunkThe number of clay patches to generate per chunk. Only generates when part of it is underwater. -
bigMushroomsPerChunk
protected int bigMushroomsPerChunkAmount of big mushrooms per chunk -
generateLakes
public boolean generateLakesTrue if decorator should generate surface lava and water
-
-
Constructor Details
-
BiomeDecorator
-
-
Method Details
-
decorate
Decorates the world. Calls code that was formerly (pre-1.8) in ChunkProviderGenerate.populate- Specified by:
decoratein interfaceBiomeDecoratorBase
-
decorate
protected void decorate()The method that does the work of actually decorating chunks -
genStandardOre1
Standard ore generation helper. Generates most ores. -
genStandardOre2
Standard ore generation helper. Generates Lapis Lazuli. -
genModdedOre
-
generateOres
protected void generateOres()Generates ores in the current chunk
-