public interface ISaveHandler
Modifier and Type | Method and Description |
---|---|
void |
checkSessionLock()
Checks the session lock to prevent save collisions
|
void |
flush()
Called to flush all changes to disk, waiting for them to complete.
|
IChunkLoader |
getChunkLoader(WorldProvider var1)
Returns the chunk loader with the provided world provider
|
File |
getMapFileFromName(String var1)
Gets the file location of the given map
|
String |
getSaveDirectoryName()
Returns the name of the directory where world information is saved.
|
IPlayerFileData |
getSaveHandler()
returns null if no saveHandler is relevent (eg.
|
WorldInfo |
loadWorldInfo()
Loads and returns the world info
|
void |
saveWorldInfo(WorldInfo var1)
Saves the passed in world info.
|
void |
saveWorldInfoWithPlayer(WorldInfo var1,
NBTTagCompound var2)
Saves the given World Info with the given NBTTagCompound as the Player.
|
WorldInfo loadWorldInfo()
void checkSessionLock() throws MinecraftException
MinecraftException
IChunkLoader getChunkLoader(WorldProvider var1)
void saveWorldInfoWithPlayer(WorldInfo var1, NBTTagCompound var2)
void saveWorldInfo(WorldInfo var1)
IPlayerFileData getSaveHandler()
void flush()
File getMapFileFromName(String var1)
String getSaveDirectoryName()