public class WorldSpecificSaveHandler extends java.lang.Object implements ISaveHandler
Constructor and Description |
---|
WorldSpecificSaveHandler(WorldServer world,
ISaveHandler parent) |
Modifier and Type | Method and Description |
---|---|
void |
checkSessionLock() |
void |
flush() |
IChunkLoader |
getChunkLoader(WorldProvider var1) |
java.io.File |
getMapFileFromName(java.lang.String name) |
IPlayerFileData |
getPlayerNBTManager() |
TemplateManager |
getStructureTemplateManager() |
java.io.File |
getWorldDirectory() |
WorldInfo |
loadWorldInfo() |
void |
saveWorldInfo(WorldInfo var1) |
void |
saveWorldInfoWithPlayer(WorldInfo var1,
NBTTagCompound var2) |
public WorldSpecificSaveHandler(WorldServer world, ISaveHandler parent)
public WorldInfo loadWorldInfo()
loadWorldInfo
in interface ISaveHandler
public void checkSessionLock() throws MinecraftException
checkSessionLock
in interface ISaveHandler
MinecraftException
public IChunkLoader getChunkLoader(WorldProvider var1)
getChunkLoader
in interface ISaveHandler
public void saveWorldInfoWithPlayer(WorldInfo var1, NBTTagCompound var2)
saveWorldInfoWithPlayer
in interface ISaveHandler
public void saveWorldInfo(WorldInfo var1)
saveWorldInfo
in interface ISaveHandler
public IPlayerFileData getPlayerNBTManager()
getPlayerNBTManager
in interface ISaveHandler
public void flush()
flush
in interface ISaveHandler
public java.io.File getWorldDirectory()
getWorldDirectory
in interface ISaveHandler
public java.io.File getMapFileFromName(java.lang.String name)
getMapFileFromName
in interface ISaveHandler
public TemplateManager getStructureTemplateManager()
getStructureTemplateManager
in interface ISaveHandler