public class AnvilSaveHandler extends SaveHandler
| Constructor and Description |
|---|
AnvilSaveHandler(java.io.File savesDirectory,
java.lang.String p_i2142_2_,
boolean storePlayerdata) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Called to flush all changes to disk, waiting for them to complete.
|
IChunkLoader |
getChunkLoader(WorldProvider provider)
initializes and returns the chunk loader for the specified world provider
|
void |
saveWorldInfoWithPlayer(WorldInfo worldInformation,
NBTTagCompound tagCompound)
Saves the given World Info with the given NBTTagCompound as the Player.
|
checkSessionLock, getAvailablePlayerDat, getMapFileFromName, getPlayerNBT, getPlayerNBTManager, getWorldDirectory, getWorldDirectoryName, loadWorldInfo, readPlayerData, saveWorldInfo, writePlayerDatapublic AnvilSaveHandler(java.io.File savesDirectory,
java.lang.String p_i2142_2_,
boolean storePlayerdata)
public IChunkLoader getChunkLoader(WorldProvider provider)
getChunkLoader in interface ISaveHandlergetChunkLoader in class SaveHandlerpublic void saveWorldInfoWithPlayer(WorldInfo worldInformation, NBTTagCompound tagCompound)
saveWorldInfoWithPlayer in interface ISaveHandlersaveWorldInfoWithPlayer in class SaveHandlerpublic void flush()
flush in interface ISaveHandlerflush in class SaveHandler