public class AnvilSaveConverter extends SaveFormatOld
dataFixer, savesDirectory
Constructor and Description |
---|
AnvilSaveConverter(java.io.File dir,
DataFixer dataFixerIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
convertMapFormat(java.lang.String filename,
IProgressUpdate progressCallback) |
void |
flushCache() |
java.lang.String |
getName() |
java.util.List<WorldSummary> |
getSaveList() |
ISaveHandler |
getSaveLoader(java.lang.String saveName,
boolean storePlayerdata) |
protected int |
getSaveVersion() |
boolean |
isConvertible(java.lang.String saveName) |
boolean |
isOldMapFormat(java.lang.String saveName) |
canLoadWorld, deleteFiles, deleteWorldDirectory, getFile, getWorldData, getWorldInfo, isNewLevelIdAcceptable, loadAndFix, renameWorld
public AnvilSaveConverter(java.io.File dir, DataFixer dataFixerIn)
public java.lang.String getName()
getName
in interface ISaveFormat
getName
in class SaveFormatOld
public java.util.List<WorldSummary> getSaveList() throws AnvilConverterException
getSaveList
in interface ISaveFormat
getSaveList
in class SaveFormatOld
AnvilConverterException
protected int getSaveVersion()
public void flushCache()
flushCache
in interface ISaveFormat
flushCache
in class SaveFormatOld
public ISaveHandler getSaveLoader(java.lang.String saveName, boolean storePlayerdata)
getSaveLoader
in interface ISaveFormat
getSaveLoader
in class SaveFormatOld
public boolean isConvertible(java.lang.String saveName)
isConvertible
in interface ISaveFormat
isConvertible
in class SaveFormatOld
public boolean isOldMapFormat(java.lang.String saveName)
isOldMapFormat
in interface ISaveFormat
isOldMapFormat
in class SaveFormatOld
public boolean convertMapFormat(java.lang.String filename, IProgressUpdate progressCallback)
convertMapFormat
in interface ISaveFormat
convertMapFormat
in class SaveFormatOld