Package net.minecraft.src
Class WorldChunkManagerHell
java.lang.Object
net.minecraft.src.WorldChunkManager
net.minecraft.src.WorldChunkManagerHell
-
Constructor Summary
ConstructorsConstructorDescriptionWorldChunkManagerHell(BiomeGenBase par1BiomeGenBase, float par2, float par3) -
Method Summary
Modifier and TypeMethodDescriptionbooleanareBiomesViable(int par1, int par2, int par3, List par4List) checks given Chunk's Biomes against List of allowed onesfindBiomePosition(int par1, int par2, int par3, List par4List, Random par5Random) Finds a valid position within a range, that is in one of the listed biomes.getBiomeGenAt(int par1, int par2) Returns the BiomeGenBase related to the x, z position on the world.getBiomeGenAt(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5, boolean par6) Return a list of biomes for the specified blocks.getBiomesForGeneration(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5) Returns an array of biomes for the location input.float[]getRainfall(float[] par1ArrayOfFloat, int par2, int par3, int par4, int par5) Returns a list of rainfall values for the specified blocks.float[]getTemperatures(float[] par1ArrayOfFloat, int par2, int par3, int par4, int par5) Returns a list of temperatures to use for the specified blocks.loadBlockGeneratorData(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5) Returns biomes to use for the blocks and loads the other data like temperature and humidity onto the WorldChunkManager Args: oldBiomeList, x, z, width, depthMethods inherited from class net.minecraft.src.WorldChunkManager
cleanupCache, getBiomesToSpawnIn, getDifficulty, getTemperatureAtHeight
-
Constructor Details
-
WorldChunkManagerHell
-
-
Method Details
-
getBiomeGenAt
Returns the BiomeGenBase related to the x, z position on the world.- Overrides:
getBiomeGenAtin classWorldChunkManager
-
getBiomesForGeneration
public BiomeGenBase[] getBiomesForGeneration(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5) Returns an array of biomes for the location input.- Overrides:
getBiomesForGenerationin classWorldChunkManager
-
getTemperatures
public float[] getTemperatures(float[] par1ArrayOfFloat, int par2, int par3, int par4, int par5) Returns a list of temperatures to use for the specified blocks. Args: listToReuse, x, y, width, length- Overrides:
getTemperaturesin classWorldChunkManager
-
getRainfall
public float[] getRainfall(float[] par1ArrayOfFloat, int par2, int par3, int par4, int par5) Returns a list of rainfall values for the specified blocks. Args: listToReuse, x, z, width, length.- Overrides:
getRainfallin classWorldChunkManager
-
loadBlockGeneratorData
public BiomeGenBase[] loadBlockGeneratorData(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5) Returns biomes to use for the blocks and loads the other data like temperature and humidity onto the WorldChunkManager Args: oldBiomeList, x, z, width, depth- Overrides:
loadBlockGeneratorDatain classWorldChunkManager
-
getBiomeGenAt
public BiomeGenBase[] getBiomeGenAt(BiomeGenBase[] par1ArrayOfBiomeGenBase, int par2, int par3, int par4, int par5, boolean par6) Return a list of biomes for the specified blocks. Args: listToReuse, x, y, width, length, cacheFlag (if false, don't check biomeCache to avoid infinite loop in BiomeCacheBlock)- Overrides:
getBiomeGenAtin classWorldChunkManager
-
findBiomePosition
public ChunkPosition findBiomePosition(int par1, int par2, int par3, List par4List, Random par5Random) Finds a valid position within a range, that is in one of the listed biomes. Searches {par1,par2} +-par3 blocks. Strongly favors positive y positions.- Overrides:
findBiomePositionin classWorldChunkManager
-
areBiomesViable
checks given Chunk's Biomes against List of allowed ones- Overrides:
areBiomesViablein classWorldChunkManager
-