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)
converts the map to mcRegion
|
void |
flushCache() |
java.lang.String |
getName()
Returns the name of the save format.
|
java.util.List<WorldSummary> |
getSaveList() |
ISaveHandler |
getSaveLoader(java.lang.String saveName,
boolean storePlayerdata)
Returns back a loader for the specified save directory
|
protected int |
getSaveVersion() |
boolean |
isConvertible(java.lang.String saveName) |
boolean |
isOldMapFormat(java.lang.String saveName)
gets if the map is old chunk saving (true) or McRegion (false)
|
canLoadWorld, deleteFiles, deleteWorldDirectory, getFile, getWorldData, getWorldInfo, isNewLevelIdAcceptable, loadAndFix, renameWorldpublic AnvilSaveConverter(java.io.File dir,
DataFixer dataFixerIn)
public java.lang.String getName()
getName in interface ISaveFormatgetName in class SaveFormatOldpublic java.util.List<WorldSummary> getSaveList() throws AnvilConverterException
getSaveList in interface ISaveFormatgetSaveList in class SaveFormatOldAnvilConverterExceptionprotected int getSaveVersion()
public void flushCache()
flushCache in interface ISaveFormatflushCache in class SaveFormatOldpublic ISaveHandler getSaveLoader(java.lang.String saveName, boolean storePlayerdata)
getSaveLoader in interface ISaveFormatgetSaveLoader in class SaveFormatOldpublic boolean isConvertible(java.lang.String saveName)
isConvertible in interface ISaveFormatisConvertible in class SaveFormatOldpublic boolean isOldMapFormat(java.lang.String saveName)
isOldMapFormat in interface ISaveFormatisOldMapFormat in class SaveFormatOldpublic boolean convertMapFormat(java.lang.String filename,
IProgressUpdate progressCallback)
convertMapFormat in interface ISaveFormatconvertMapFormat in class SaveFormatOld