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
|
java.io.File |
getMapFileFromName(java.lang.String var1)
Gets the file location of the given map
|
IPlayerFileData |
getSaveHandler()
returns null if no saveHandler is relevent (eg.
|
java.io.File |
getWorldDirectory()
Gets the File object corresponding to the base directory of this world.
|
java.lang.String |
getWorldDirectoryName()
Returns the name of the directory where world information is saved.
|
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()
java.io.File getWorldDirectory()
java.io.File getMapFileFromName(java.lang.String var1)
java.lang.String getWorldDirectoryName()