public class AnvilSaveHandler extends SaveHandler
dataFixer| Constructor and Description |
|---|
AnvilSaveHandler(java.io.File p_i46650_1_,
java.lang.String saveDirectoryName,
boolean p_i46650_3_,
DataFixer dataFixerIn) |
| 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, getStructureTemplateManager, getWorldDirectory, loadWorldInfo, readPlayerData, saveWorldInfo, writePlayerDatapublic AnvilSaveHandler(java.io.File p_i46650_1_,
java.lang.String saveDirectoryName,
boolean p_i46650_3_,
DataFixer dataFixerIn)
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