YATS/Forge Documentation
|
Public Member Functions | |
ChunkProviderGenerate (World par1World, long par2, boolean par4) | |
void | generateTerrain (int par1, int par2, byte[] par3ArrayOfByte) |
void | replaceBlocksForBiome (int par1, int par2, byte[] par3ArrayOfByte, BiomeGenBase[] par4ArrayOfBiomeGenBase) |
Chunk | loadChunk (int par1, int par2) |
Chunk | provideChunk (int par1, int par2) |
boolean | chunkExists (int par1, int par2) |
void | populate (IChunkProvider par1IChunkProvider, int par2, int par3) |
boolean | saveChunks (boolean par1, IProgressUpdate par2IProgressUpdate) |
void | func_104112_b () |
boolean | unloadQueuedChunks () |
boolean | canSave () |
String | makeString () |
List | getPossibleCreatures (EnumCreatureType par1EnumCreatureType, int par2, int par3, int par4) |
ChunkPosition | findClosestStructure (World par1World, String par2Str, int par3, int par4, int par5) |
int | getLoadedChunkCount () |
void | recreateStructures (int par1, int par2) |
Public Attributes | |
NoiseGeneratorOctaves | noiseGen5 |
NoiseGeneratorOctaves | noiseGen6 |
NoiseGeneratorOctaves | mobSpawnerNoise |
net.minecraft.world.gen.ChunkProviderGenerate.ChunkProviderGenerate | ( | World | par1World, |
long | par2, | ||
boolean | par4 | ||
) |
boolean net.minecraft.world.gen.ChunkProviderGenerate.canSave | ( | ) |
Returns if the IChunkProvider supports saving.
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.world.gen.ChunkProviderGenerate.chunkExists | ( | int | par1, |
int | par2 | ||
) |
Checks to see if a chunk exists at x, y
Implements net.minecraft.world.chunk.IChunkProvider.
ChunkPosition net.minecraft.world.gen.ChunkProviderGenerate.findClosestStructure | ( | World | par1World, |
String | par2Str, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
Returns the location of the closest structure of the specified type. If not found returns null.
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderGenerate.func_104112_b | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderGenerate.generateTerrain | ( | int | par1, |
int | par2, | ||
byte[] | par3ArrayOfByte | ||
) |
Generates the shape of the terrain for the chunk though its all stone though the water is frozen if the temperature is low enough
int net.minecraft.world.gen.ChunkProviderGenerate.getLoadedChunkCount | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
List net.minecraft.world.gen.ChunkProviderGenerate.getPossibleCreatures | ( | EnumCreatureType | par1EnumCreatureType, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Returns a list of creatures of the specified type that can spawn at the given location.
Implements net.minecraft.world.chunk.IChunkProvider.
Chunk net.minecraft.world.gen.ChunkProviderGenerate.loadChunk | ( | int | par1, |
int | par2 | ||
) |
loads or generates the chunk at the chunk location specified
Implements net.minecraft.world.chunk.IChunkProvider.
String net.minecraft.world.gen.ChunkProviderGenerate.makeString | ( | ) |
Converts the instance data to a readable string.
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderGenerate.populate | ( | IChunkProvider | par1IChunkProvider, |
int | par2, | ||
int | par3 | ||
) |
Populates chunk with ores etc etc
Implements net.minecraft.world.chunk.IChunkProvider.
Chunk net.minecraft.world.gen.ChunkProviderGenerate.provideChunk | ( | int | par1, |
int | par2 | ||
) |
Will return back a chunk, if it doesn't exist and its not a MP client it will generates all the blocks for the specified chunk from the map seed and chunk seed
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderGenerate.recreateStructures | ( | int | par1, |
int | par2 | ||
) |
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderGenerate.replaceBlocksForBiome | ( | int | par1, |
int | par2, | ||
byte[] | par3ArrayOfByte, | ||
BiomeGenBase[] | par4ArrayOfBiomeGenBase | ||
) |
Replaces the stone that was placed in with blocks that match the biome
boolean net.minecraft.world.gen.ChunkProviderGenerate.saveChunks | ( | boolean | par1, |
IProgressUpdate | par2IProgressUpdate | ||
) |
Two modes of operation: if passed true, save all Chunks in one go. If passed false, save up to two chunks. Return true if all chunks have been saved.
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.world.gen.ChunkProviderGenerate.unloadQueuedChunks | ( | ) |
Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
Implements net.minecraft.world.chunk.IChunkProvider.
NoiseGeneratorOctaves net.minecraft.world.gen.ChunkProviderGenerate.mobSpawnerNoise |
NoiseGeneratorOctaves net.minecraft.world.gen.ChunkProviderGenerate.noiseGen5 |
A NoiseGeneratorOctaves used in generating terrain
NoiseGeneratorOctaves net.minecraft.world.gen.ChunkProviderGenerate.noiseGen6 |
A NoiseGeneratorOctaves used in generating terrain