YATS/Forge Documentation
|
Public Member Functions | |
ChunkProviderFlat (World par1World, long par2, boolean par4, String par5Str) | |
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) |
net.minecraft.world.gen.ChunkProviderFlat.ChunkProviderFlat | ( | World | par1World, |
long | par2, | ||
boolean | par4, | ||
String | par5Str | ||
) |
boolean net.minecraft.world.gen.ChunkProviderFlat.canSave | ( | ) |
Returns if the IChunkProvider supports saving.
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.world.gen.ChunkProviderFlat.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.ChunkProviderFlat.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.ChunkProviderFlat.func_104112_b | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
int net.minecraft.world.gen.ChunkProviderFlat.getLoadedChunkCount | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
List net.minecraft.world.gen.ChunkProviderFlat.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.ChunkProviderFlat.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.ChunkProviderFlat.makeString | ( | ) |
Converts the instance data to a readable string.
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.world.gen.ChunkProviderFlat.populate | ( | IChunkProvider | par1IChunkProvider, |
int | par2, | ||
int | par3 | ||
) |
Populates chunk with ores etc etc
Implements net.minecraft.world.chunk.IChunkProvider.
Chunk net.minecraft.world.gen.ChunkProviderFlat.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.ChunkProviderFlat.recreateStructures | ( | int | par1, |
int | par2 | ||
) |
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.world.gen.ChunkProviderFlat.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.ChunkProviderFlat.unloadQueuedChunks | ( | ) |
Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
Implements net.minecraft.world.chunk.IChunkProvider.