public interface IChunkProvider
Modifier and Type | Method and Description |
---|---|
boolean |
canSave()
Returns if the IChunkProvider supports saving.
|
boolean |
chunkExists(int x,
int z)
Checks to see if a chunk exists at x, z
|
boolean |
func_177460_a(IChunkProvider p_177460_1_,
Chunk p_177460_2_,
int p_177460_3_,
int p_177460_4_) |
int |
getLoadedChunkCount() |
java.util.List<BiomeGenBase.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
BlockPos |
getStrongholdGen(World worldIn,
java.lang.String structureName,
BlockPos position) |
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(BlockPos blockPosIn) |
Chunk |
provideChunk(int x,
int z)
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(Chunk p_180514_1_,
int p_180514_2_,
int p_180514_3_) |
boolean |
saveChunks(boolean p_73151_1_,
IProgressUpdate progressCallback)
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 x, int z)
Chunk provideChunk(int x, int z)
void populate(IChunkProvider p_73153_1_, int p_73153_2_, int p_73153_3_)
boolean func_177460_a(IChunkProvider p_177460_1_, Chunk p_177460_2_, int p_177460_3_, int p_177460_4_)
boolean saveChunks(boolean p_73151_1_, IProgressUpdate progressCallback)
boolean unloadQueuedChunks()
boolean canSave()
java.lang.String makeString()
java.util.List<BiomeGenBase.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
BlockPos getStrongholdGen(World worldIn, java.lang.String structureName, BlockPos position)
int getLoadedChunkCount()
void recreateStructures(Chunk p_180514_1_, int p_180514_2_, int p_180514_3_)
void saveExtraData()