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, writePlayerData
public 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 ISaveHandler
getChunkLoader
in class SaveHandler
public void saveWorldInfoWithPlayer(WorldInfo worldInformation, NBTTagCompound tagCompound)
saveWorldInfoWithPlayer
in interface ISaveHandler
saveWorldInfoWithPlayer
in class SaveHandler
public void flush()
flush
in interface ISaveHandler
flush
in class SaveHandler