YATS/Forge Documentation
|
Public Member Functions | |
boolean | chunkExists (int i, int j) |
Chunk | provideChunk (int i, int j) |
Chunk | loadChunk (int i, int j) |
void | populate (IChunkProvider ichunkprovider, int i, int j) |
boolean | saveChunks (boolean flag, IProgressUpdate iprogressupdate) |
boolean | unloadQueuedChunks () |
boolean | canSave () |
String | makeString () |
List | getPossibleCreatures (EnumCreatureType enumcreaturetype, int i, int j, int k) |
ChunkPosition | findClosestStructure (World world, String s, int i, int j, int k) |
int | getLoadedChunkCount () |
void | recreateStructures (int i, int j) |
void | func_104112_b () |
boolean net.minecraft.world.chunk.IChunkProvider.canSave | ( | ) |
Returns if the IChunkProvider supports saving.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
boolean net.minecraft.world.chunk.IChunkProvider.chunkExists | ( | int | i, |
int | j | ||
) |
Checks to see if a chunk exists at x, y
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderFlat, net.minecraft.world.gen.ChunkProviderServer, and net.minecraft.client.multiplayer.ChunkProviderClient.
ChunkPosition net.minecraft.world.chunk.IChunkProvider.findClosestStructure | ( | World | world, |
String | s, | ||
int | i, | ||
int | j, | ||
int | k | ||
) |
Returns the location of the closest structure of the specified type. If not found returns null.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
void net.minecraft.world.chunk.IChunkProvider.func_104112_b | ( | ) |
int net.minecraft.world.chunk.IChunkProvider.getLoadedChunkCount | ( | ) |
List net.minecraft.world.chunk.IChunkProvider.getPossibleCreatures | ( | EnumCreatureType | enumcreaturetype, |
int | i, | ||
int | j, | ||
int | k | ||
) |
Returns a list of creatures of the specified type that can spawn at the given location.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
Chunk net.minecraft.world.chunk.IChunkProvider.loadChunk | ( | int | i, |
int | j | ||
) |
loads or generates the chunk at the chunk location specified
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
String net.minecraft.world.chunk.IChunkProvider.makeString | ( | ) |
Converts the instance data to a readable string.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
void net.minecraft.world.chunk.IChunkProvider.populate | ( | IChunkProvider | ichunkprovider, |
int | i, | ||
int | j | ||
) |
Populates chunk with ores etc etc
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
Chunk net.minecraft.world.chunk.IChunkProvider.provideChunk | ( | int | i, |
int | j | ||
) |
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
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
void net.minecraft.world.chunk.IChunkProvider.recreateStructures | ( | int | i, |
int | j | ||
) |
boolean net.minecraft.world.chunk.IChunkProvider.saveChunks | ( | boolean | flag, |
IProgressUpdate | iprogressupdate | ||
) |
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.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.
boolean net.minecraft.world.chunk.IChunkProvider.unloadQueuedChunks | ( | ) |
Unloads chunks that are marked to be unloaded. This is not guaranteed to unload every such chunk.
Implemented in net.minecraft.world.gen.ChunkProviderGenerate, net.minecraft.world.gen.ChunkProviderHell, net.minecraft.world.gen.ChunkProviderEnd, net.minecraft.world.gen.ChunkProviderServer, net.minecraft.world.gen.ChunkProviderFlat, and net.minecraft.client.multiplayer.ChunkProviderClient.