public interface IChunkProvider
Modifier and Type | Method and Description |
---|---|
boolean |
canSave()
Returns if the IChunkProvider supports saving.
|
boolean |
chunkExists(int i,
int j)
Checks to see if a chunk exists at x, y
|
ChunkPosition |
findClosestStructure(World world,
String s,
int i,
int j,
int k)
Returns the location of the closest structure of the specified type.
|
void |
func_104112_b() |
int |
getLoadedChunkCount() |
List |
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.
|
Chunk |
loadChunk(int i,
int j)
loads or generates the chunk at the chunk location specified
|
String |
makeString()
Converts the instance data to a readable string.
|
void |
populate(IChunkProvider ichunkprovider,
int i,
int j)
Populates chunk with ores etc etc
|
Chunk |
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
|
void |
recreateStructures(int i,
int j) |
boolean |
saveChunks(boolean flag,
IProgressUpdate iprogressupdate)
Two modes of operation: if passed true, save all Chunks in one go.
|
boolean |
unloadQueuedChunks()
Unloads chunks that are marked to be unloaded.
|
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()