public class AnvilChunkLoader extends java.lang.Object implements IChunkLoader, IThreadedFileIO
Modifier and Type | Field and Description |
---|---|
java.io.File |
chunkSaveLocation |
Constructor and Description |
---|
AnvilChunkLoader(java.io.File p_i2003_1_) |
Modifier and Type | Method and Description |
---|---|
protected void |
addChunkToPending(ChunkCoordIntPair p_75824_1_,
NBTTagCompound p_75824_2_) |
protected Chunk |
checkedReadChunkFromNBT(World p_75822_1_,
int p_75822_2_,
int p_75822_3_,
NBTTagCompound p_75822_4_) |
void |
chunkTick() |
Chunk |
loadChunk(World p_75815_1_,
int p_75815_2_,
int p_75815_3_) |
void |
saveChunk(World p_75816_1_,
Chunk p_75816_2_) |
void |
saveExtraChunkData(World p_75819_1_,
Chunk p_75819_2_) |
void |
saveExtraData() |
boolean |
writeNextIO() |
public Chunk loadChunk(World p_75815_1_, int p_75815_2_, int p_75815_3_) throws java.io.IOException
loadChunk
in interface IChunkLoader
java.io.IOException
protected Chunk checkedReadChunkFromNBT(World p_75822_1_, int p_75822_2_, int p_75822_3_, NBTTagCompound p_75822_4_)
public void saveChunk(World p_75816_1_, Chunk p_75816_2_) throws MinecraftException, java.io.IOException
saveChunk
in interface IChunkLoader
MinecraftException
java.io.IOException
protected void addChunkToPending(ChunkCoordIntPair p_75824_1_, NBTTagCompound p_75824_2_)
public boolean writeNextIO()
writeNextIO
in interface IThreadedFileIO
public void saveExtraChunkData(World p_75819_1_, Chunk p_75819_2_)
saveExtraChunkData
in interface IChunkLoader
public void chunkTick()
chunkTick
in interface IChunkLoader
public void saveExtraData()
saveExtraData
in interface IChunkLoader