YATS/Forge Documentation
|
Public Member Functions | |
ChunkProviderClient (World par1World) | |
boolean | chunkExists (int par1, int par2) |
void | unloadChunk (int par1, int par2) |
Chunk | loadChunk (int par1, int par2) |
Chunk | provideChunk (int par1, int par2) |
boolean | saveChunks (boolean par1, IProgressUpdate par2IProgressUpdate) |
void | func_104112_b () |
boolean | unloadQueuedChunks () |
boolean | canSave () |
void | populate (IChunkProvider par1IChunkProvider, int par2, int par3) |
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.client.multiplayer.ChunkProviderClient.ChunkProviderClient | ( | World | par1World) |
boolean net.minecraft.client.multiplayer.ChunkProviderClient.canSave | ( | ) |
Returns if the IChunkProvider supports saving.
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.client.multiplayer.ChunkProviderClient.chunkExists | ( | int | par1, |
int | par2 | ||
) |
Checks to see if a chunk exists at x, y
Implements net.minecraft.world.chunk.IChunkProvider.
ChunkPosition net.minecraft.client.multiplayer.ChunkProviderClient.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.client.multiplayer.ChunkProviderClient.func_104112_b | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
int net.minecraft.client.multiplayer.ChunkProviderClient.getLoadedChunkCount | ( | ) |
Implements net.minecraft.world.chunk.IChunkProvider.
List net.minecraft.client.multiplayer.ChunkProviderClient.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.client.multiplayer.ChunkProviderClient.loadChunk | ( | int | par1, |
int | par2 | ||
) |
loads or generates the chunk at the chunk location specified
Implements net.minecraft.world.chunk.IChunkProvider.
String net.minecraft.client.multiplayer.ChunkProviderClient.makeString | ( | ) |
Converts the instance data to a readable string.
Implements net.minecraft.world.chunk.IChunkProvider.
void net.minecraft.client.multiplayer.ChunkProviderClient.populate | ( | IChunkProvider | par1IChunkProvider, |
int | par2, | ||
int | par3 | ||
) |
Populates chunk with ores etc etc
Implements net.minecraft.world.chunk.IChunkProvider.
Chunk net.minecraft.client.multiplayer.ChunkProviderClient.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.client.multiplayer.ChunkProviderClient.recreateStructures | ( | int | par1, |
int | par2 | ||
) |
Implements net.minecraft.world.chunk.IChunkProvider.
boolean net.minecraft.client.multiplayer.ChunkProviderClient.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.
void net.minecraft.client.multiplayer.ChunkProviderClient.unloadChunk | ( | int | par1, |
int | par2 | ||
) |
Unload chunk from ChunkProviderClient's hashmap. Called in response to a Packet50PreChunk with its mode field set to false
boolean net.minecraft.client.multiplayer.ChunkProviderClient.unloadQueuedChunks | ( | ) |
Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
Implements net.minecraft.world.chunk.IChunkProvider.