Package net.minecraft.src
Class ChunkProviderServer
- java.lang.Object
-
- net.minecraft.src.ChunkProviderServer
-
- All Implemented Interfaces:
IChunkProvider
public class ChunkProviderServer extends java.lang.Object implements IChunkProvider
-
-
Field Summary
Fields Modifier and Type Field Description boolean
chunkLoadOverride
-
Constructor Summary
Constructors Constructor Description ChunkProviderServer(WorldServer worldServer, IChunkLoader iChunkLoader, IChunkProvider iChunkProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSave()
boolean
chunkExists(int i, int var2)
void
dropChunk(int i, int var2)
ChunkPosition
findClosestStructure(World world, java.lang.String string, int i, int j, int var5)
java.util.List<SpawnListEntry>
getPossibleCreatures(EnumCreatureType enumCreatureType, int i, int j, int var4)
Chunk
loadChunk(int i, int var2)
java.lang.String
makeString()
void
populate(IChunkProvider iChunkProvider, int i, int var3)
Chunk
provideChunk(int i, int var2)
Chunk
provideChunkIfPossible(int x, int y)
boolean
saveChunks(boolean bl, IProgressUpdate var2)
boolean
unload100OldestChunks()
void
unloadAllChunks()
-
-
-
Constructor Detail
-
ChunkProviderServer
public ChunkProviderServer(WorldServer worldServer, IChunkLoader iChunkLoader, IChunkProvider iChunkProvider)
-
-
Method Detail
-
chunkExists
public boolean chunkExists(int i, int var2)
- Specified by:
chunkExists
in interfaceIChunkProvider
-
dropChunk
public void dropChunk(int i, int var2)
-
unloadAllChunks
public void unloadAllChunks()
-
loadChunk
public Chunk loadChunk(int i, int var2)
- Specified by:
loadChunk
in interfaceIChunkProvider
-
provideChunk
public Chunk provideChunk(int i, int var2)
- Specified by:
provideChunk
in interfaceIChunkProvider
-
provideChunkIfPossible
public Chunk provideChunkIfPossible(int x, int y)
- Specified by:
provideChunkIfPossible
in interfaceIChunkProvider
-
populate
public void populate(IChunkProvider iChunkProvider, int i, int var3)
- Specified by:
populate
in interfaceIChunkProvider
-
saveChunks
public boolean saveChunks(boolean bl, IProgressUpdate var2)
- Specified by:
saveChunks
in interfaceIChunkProvider
-
unload100OldestChunks
public boolean unload100OldestChunks()
- Specified by:
unload100OldestChunks
in interfaceIChunkProvider
-
canSave
public boolean canSave()
- Specified by:
canSave
in interfaceIChunkProvider
-
makeString
public java.lang.String makeString()
- Specified by:
makeString
in interfaceIChunkProvider
-
getPossibleCreatures
public java.util.List<SpawnListEntry> getPossibleCreatures(EnumCreatureType enumCreatureType, int i, int j, int var4)
- Specified by:
getPossibleCreatures
in interfaceIChunkProvider
-
findClosestStructure
public ChunkPosition findClosestStructure(World world, java.lang.String string, int i, int j, int var5)
- Specified by:
findClosestStructure
in interfaceIChunkProvider
-
-