public class AnvilSaveConverter extends SaveFormatOld
| Constructor and Description |
|---|
AnvilSaveConverter(File par1File) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
convertMapFormat(String par1Str,
IProgressUpdate par2IProgressUpdate)
Converts the specified map to the new map format.
|
void |
flushCache() |
List |
getSaveList() |
ISaveHandler |
getSaveLoader(String par1Str,
boolean par2)
Returns back a loader for the specified save directory
|
boolean |
isOldMapFormat(String par1Str)
Checks if the save directory uses the old map format
|
canLoadWorld, deleteWorldDirectory, getWorldInfo, renameWorldpublic AnvilSaveConverter(File par1File)
public List getSaveList() throws AnvilConverterException
getSaveList in interface ISaveFormatgetSaveList in class SaveFormatOldAnvilConverterExceptionpublic void flushCache()
flushCache in interface ISaveFormatflushCache in class SaveFormatOldpublic ISaveHandler getSaveLoader(String par1Str, boolean par2)
getSaveLoader in interface ISaveFormatgetSaveLoader in class SaveFormatOldpublic boolean isOldMapFormat(String par1Str)
isOldMapFormat in interface ISaveFormatisOldMapFormat in class SaveFormatOldpublic boolean convertMapFormat(String par1Str, IProgressUpdate par2IProgressUpdate)
convertMapFormat in interface ISaveFormatconvertMapFormat in class SaveFormatOld