Package net.minecraft.src
Class SaveHandler
- java.lang.Object
-
- net.minecraft.src.SaveHandler
-
- All Implemented Interfaces:
IPlayerFileData
,ISaveHandler
- Direct Known Subclasses:
AnvilSaveHandler
public class SaveHandler extends java.lang.Object implements IPlayerFileData, ISaveHandler
-
-
Constructor Summary
Constructors Constructor Description SaveHandler(java.io.File var1, java.lang.String var2, boolean var3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkSessionLock()
void
func_22093_e()
java.lang.String[]
func_52007_g()
IChunkLoader
getChunkLoader(WorldProvider var1)
java.io.File
getMapFileFromName(java.lang.String var1)
NBTTagCompound
getPlayerData(GameProfile profile)
IPlayerFileData
getPlayerNBTManager()
java.io.File
getSaveDirectory()
@Client java.lang.String
getSaveDirectoryName()
WorldInfo
loadWorldInfo()
void
readPlayerData(ServerPlayer var1)
void
saveWorldInfo(WorldInfo var1)
void
saveWorldInfoAndPlayer(WorldInfo var1, java.util.List var2)
void
writePlayerData(ServerPlayer var1)
-
-
-
Method Detail
-
getSaveDirectory
public java.io.File getSaveDirectory()
-
checkSessionLock
public void checkSessionLock()
- Specified by:
checkSessionLock
in interfaceISaveHandler
-
getChunkLoader
public IChunkLoader getChunkLoader(WorldProvider var1)
- Specified by:
getChunkLoader
in interfaceISaveHandler
-
loadWorldInfo
public WorldInfo loadWorldInfo()
- Specified by:
loadWorldInfo
in interfaceISaveHandler
-
saveWorldInfoAndPlayer
public void saveWorldInfoAndPlayer(WorldInfo var1, java.util.List var2)
- Specified by:
saveWorldInfoAndPlayer
in interfaceISaveHandler
-
saveWorldInfo
public void saveWorldInfo(WorldInfo var1)
- Specified by:
saveWorldInfo
in interfaceISaveHandler
-
getMapFileFromName
public java.io.File getMapFileFromName(java.lang.String var1)
- Specified by:
getMapFileFromName
in interfaceISaveHandler
-
writePlayerData
public void writePlayerData(ServerPlayer var1)
- Specified by:
writePlayerData
in interfaceIPlayerFileData
-
getSaveDirectoryName
@Client public @Client java.lang.String getSaveDirectoryName()
- Specified by:
getSaveDirectoryName
in interfaceISaveHandler
-
readPlayerData
public void readPlayerData(ServerPlayer var1)
- Specified by:
readPlayerData
in interfaceIPlayerFileData
-
getPlayerData
public NBTTagCompound getPlayerData(GameProfile profile)
-
getPlayerNBTManager
public IPlayerFileData getPlayerNBTManager()
- Specified by:
getPlayerNBTManager
in interfaceISaveHandler
-
func_52007_g
public java.lang.String[] func_52007_g()
- Specified by:
func_52007_g
in interfaceIPlayerFileData
-
func_22093_e
public void func_22093_e()
- Specified by:
func_22093_e
in interfaceISaveHandler
-
-