public class SaveHandlerMP extends java.lang.Object implements ISaveHandler
Constructor and Description |
---|
SaveHandlerMP() |
Modifier and Type | Method and Description |
---|---|
void |
checkSessionLock() |
void |
flush() |
IChunkLoader |
getChunkLoader(WorldProvider provider) |
java.io.File |
getMapFileFromName(java.lang.String mapName) |
IPlayerFileData |
getPlayerNBTManager() |
TemplateManager |
getStructureTemplateManager() |
java.io.File |
getWorldDirectory() |
WorldInfo |
loadWorldInfo() |
void |
saveWorldInfo(WorldInfo worldInformation) |
void |
saveWorldInfoWithPlayer(WorldInfo worldInformation,
NBTTagCompound tagCompound) |
public WorldInfo loadWorldInfo()
loadWorldInfo
in interface ISaveHandler
public void checkSessionLock() throws MinecraftException
checkSessionLock
in interface ISaveHandler
MinecraftException
public IChunkLoader getChunkLoader(WorldProvider provider)
getChunkLoader
in interface ISaveHandler
public void saveWorldInfoWithPlayer(WorldInfo worldInformation, NBTTagCompound tagCompound)
saveWorldInfoWithPlayer
in interface ISaveHandler
public void saveWorldInfo(WorldInfo worldInformation)
saveWorldInfo
in interface ISaveHandler
public IPlayerFileData getPlayerNBTManager()
getPlayerNBTManager
in interface ISaveHandler
public void flush()
flush
in interface ISaveHandler
public java.io.File getMapFileFromName(java.lang.String mapName)
getMapFileFromName
in interface ISaveHandler
public java.io.File getWorldDirectory()
getWorldDirectory
in interface ISaveHandler
public TemplateManager getStructureTemplateManager()
getStructureTemplateManager
in interface ISaveHandler