Package net.minecraft.src
Class SaveFormatOld
- java.lang.Object
-
- net.minecraft.src.SaveFormatOld
-
- All Implemented Interfaces:
ISaveFormat
- Direct Known Subclasses:
AnvilSaveConverter
public class SaveFormatOld extends java.lang.Object implements ISaveFormat
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
savesDirectory
-
Constructor Summary
Constructors Constructor Description SaveFormatOld(java.io.File var1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
convertMapFormat(java.lang.String var1, IProgressUpdate var2)
protected static void
deleteFiles(java.io.File[] var0)
void
deleteWorldDirectory(java.lang.String var1)
void
flushCache()
@Client java.lang.String
getFormatName()
@Client java.util.List
getSaveList()
ISaveHandler
getSaveLoader(java.lang.String var1, boolean var2)
WorldInfo
getWorldInfo(java.lang.String var1)
boolean
isOldMapFormat(java.lang.String var1)
void
renameWorld(java.lang.String var1, java.lang.String var2)
-
-
-
Method Detail
-
getFormatName
@Client public @Client java.lang.String getFormatName()
- Specified by:
getFormatName
in interfaceISaveFormat
-
getSaveList
@Client public @Client java.util.List getSaveList()
- Specified by:
getSaveList
in interfaceISaveFormat
-
flushCache
@Client public void flushCache()
- Specified by:
flushCache
in interfaceISaveFormat
-
getWorldInfo
public WorldInfo getWorldInfo(java.lang.String var1)
- Specified by:
getWorldInfo
in interfaceISaveFormat
-
renameWorld
@Client public void renameWorld(java.lang.String var1, java.lang.String var2)
- Specified by:
renameWorld
in interfaceISaveFormat
-
deleteWorldDirectory
@Client public void deleteWorldDirectory(java.lang.String var1)
- Specified by:
deleteWorldDirectory
in interfaceISaveFormat
-
deleteFiles
@Client protected static void deleteFiles(java.io.File[] var0)
-
getSaveLoader
public ISaveHandler getSaveLoader(java.lang.String var1, boolean var2)
- Specified by:
getSaveLoader
in interfaceISaveFormat
-
isOldMapFormat
public boolean isOldMapFormat(java.lang.String var1)
- Specified by:
isOldMapFormat
in interfaceISaveFormat
-
convertMapFormat
public boolean convertMapFormat(java.lang.String var1, IProgressUpdate var2)
- Specified by:
convertMapFormat
in interfaceISaveFormat
-
-