public class ChunkProviderServer extends java.lang.Object implements IChunkProvider
Modifier and Type | Field and Description |
---|---|
IChunkLoader |
currentChunkLoader |
IChunkProvider |
currentChunkProvider |
boolean |
loadChunkOnProvideRequest |
LongHashMap |
loadedChunkHashMap |
java.util.List |
loadedChunks |
WorldServer |
worldObj |
Constructor and Description |
---|
ChunkProviderServer(WorldServer p_i1520_1_,
IChunkLoader p_i1520_2_,
IChunkProvider p_i1520_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSave() |
boolean |
chunkExists(int p_73149_1_,
int p_73149_2_) |
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_) |
java.util.List |
func_152380_a() |
int |
getLoadedChunkCount() |
java.util.List |
getPossibleCreatures(EnumCreatureType p_73155_1_,
int p_73155_2_,
int p_73155_3_,
int p_73155_4_) |
Chunk |
loadChunk(int p_73158_1_,
int p_73158_2_) |
java.lang.String |
makeString() |
void |
populate(IChunkProvider p_73153_1_,
int p_73153_2_,
int p_73153_3_) |
Chunk |
provideChunk(int p_73154_1_,
int p_73154_2_) |
void |
recreateStructures(int p_82695_1_,
int p_82695_2_) |
boolean |
saveChunks(boolean p_73151_1_,
IProgressUpdate p_73151_2_) |
void |
saveExtraData() |
void |
unloadAllChunks() |
void |
unloadChunksIfNotNearSpawn(int p_73241_1_,
int p_73241_2_) |
boolean |
unloadQueuedChunks() |
public IChunkProvider currentChunkProvider
public IChunkLoader currentChunkLoader
public boolean loadChunkOnProvideRequest
public LongHashMap loadedChunkHashMap
public java.util.List loadedChunks
public WorldServer worldObj
public ChunkProviderServer(WorldServer p_i1520_1_, IChunkLoader p_i1520_2_, IChunkProvider p_i1520_3_)
public boolean chunkExists(int p_73149_1_, int p_73149_2_)
chunkExists
in interface IChunkProvider
public java.util.List func_152380_a()
public void unloadChunksIfNotNearSpawn(int p_73241_1_, int p_73241_2_)
public void unloadAllChunks()
public Chunk loadChunk(int p_73158_1_, int p_73158_2_)
loadChunk
in interface IChunkProvider
public Chunk provideChunk(int p_73154_1_, int p_73154_2_)
provideChunk
in interface IChunkProvider
public void populate(IChunkProvider p_73153_1_, int p_73153_2_, int p_73153_3_)
populate
in interface IChunkProvider
public boolean saveChunks(boolean p_73151_1_, IProgressUpdate p_73151_2_)
saveChunks
in interface IChunkProvider
public void saveExtraData()
saveExtraData
in interface IChunkProvider
public boolean unloadQueuedChunks()
unloadQueuedChunks
in interface IChunkProvider
public boolean canSave()
canSave
in interface IChunkProvider
public java.lang.String makeString()
makeString
in interface IChunkProvider
public java.util.List getPossibleCreatures(EnumCreatureType p_73155_1_, int p_73155_2_, int p_73155_3_, int p_73155_4_)
getPossibleCreatures
in interface IChunkProvider
public 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_)
func_147416_a
in interface IChunkProvider
public int getLoadedChunkCount()
getLoadedChunkCount
in interface IChunkProvider
public void recreateStructures(int p_82695_1_, int p_82695_2_)
recreateStructures
in interface IChunkProvider