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, writePlayerDatapublic IChunkLoader getChunkLoader(WorldProvider par1WorldProvider)
getChunkLoader in interface ISaveHandlergetChunkLoader in class SaveHandlerpublic void saveWorldInfoWithPlayer(WorldInfo par1WorldInfo, NBTTagCompound par2NBTTagCompound)
saveWorldInfoWithPlayer in interface ISaveHandlersaveWorldInfoWithPlayer in class SaveHandlerpublic void flush()
flush in interface ISaveHandlerflush in class SaveHandler