public class AnvilSaveHandler extends SaveHandler
Constructor and Description |
---|
AnvilSaveHandler(File par1File,
String par2Str,
boolean par3) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Called to flush all changes to disk, waiting for them to complete.
|
IChunkLoader |
getChunkLoader(WorldProvider par1WorldProvider)
Returns the chunk loader with the provided world provider
|
void |
saveWorldInfoWithPlayer(WorldInfo par1WorldInfo,
NBTTagCompound par2NBTTagCompound)
Saves the given World Info with the given NBTTagCompound as the Player.
|
checkSessionLock, getAvailablePlayerDat, getMapFileFromName, getPlayerData, getSaveHandler, getWorldDirectory, getWorldDirectoryName, loadWorldInfo, readPlayerData, saveWorldInfo, writePlayerData
public IChunkLoader getChunkLoader(WorldProvider par1WorldProvider)
getChunkLoader
in interface ISaveHandler
getChunkLoader
in class SaveHandler
public void saveWorldInfoWithPlayer(WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound)
saveWorldInfoWithPlayer
in interface ISaveHandler
saveWorldInfoWithPlayer
in class SaveHandler
public void flush()
flush
in interface ISaveHandler
flush
in class SaveHandler