public interface IChunkProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSave()
Returns if the IChunkProvider supports saving.
|
boolean |
chunkExists(int p_73149_1_,
int p_73149_2_)
Checks to see if a chunk exists at x, y
|
ChunkPosition |
func_147416_a(World p_147416_1_,
java.lang.String p_147416_2_,
int p_147416_3_,
int p_147416_4_,
int p_147416_5_) |
int |
getLoadedChunkCount() |
java.util.List |
getPossibleCreatures(EnumCreatureType p_73155_1_,
int p_73155_2_,
int p_73155_3_,
int p_73155_4_)
Returns a list of creatures of the specified type that can spawn at the given location.
|
Chunk |
loadChunk(int p_73158_1_,
int p_73158_2_)
loads or generates the chunk at the chunk location specified
|
java.lang.String |
makeString()
Converts the instance data to a readable string.
|
void |
populate(IChunkProvider p_73153_1_,
int p_73153_2_,
int p_73153_3_)
Populates chunk with ores etc etc
|
Chunk |
provideChunk(int p_73154_1_,
int p_73154_2_)
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 p_82695_1_,
int p_82695_2_) |
boolean |
saveChunks(boolean p_73151_1_,
IProgressUpdate p_73151_2_)
Two modes of operation: if passed true, save all Chunks in one go.
|
void |
saveExtraData()
Save extra data not associated with any Chunk.
|
boolean |
unloadQueuedChunks()
Unloads chunks that are marked to be unloaded.
|
boolean chunkExists(int p_73149_1_,
int p_73149_2_)
Chunk provideChunk(int p_73154_1_, int p_73154_2_)
Chunk loadChunk(int p_73158_1_, int p_73158_2_)
void populate(IChunkProvider p_73153_1_, int p_73153_2_, int p_73153_3_)
boolean saveChunks(boolean p_73151_1_,
IProgressUpdate p_73151_2_)
boolean unloadQueuedChunks()
boolean canSave()
java.lang.String makeString()
java.util.List getPossibleCreatures(EnumCreatureType p_73155_1_, int p_73155_2_, int p_73155_3_, int p_73155_4_)
ChunkPosition func_147416_a(World p_147416_1_, java.lang.String p_147416_2_, int p_147416_3_, int p_147416_4_, int p_147416_5_)
int getLoadedChunkCount()
void recreateStructures(int p_82695_1_,
int p_82695_2_)
void saveExtraData()