public class AnvilSaveConverter extends SaveFormatOld
dataFixer, field_197717_b, savesDirectory
BACKUP_DATE_FORMAT
Constructor and Description |
---|
AnvilSaveConverter(java.nio.file.Path p_i49567_1_,
java.nio.file.Path p_i49567_2_,
com.mojang.datafixers.DataFixer p_i49567_3_) |
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,
MinecraftServer server) |
protected int |
getSaveVersion() |
boolean |
isConvertible(java.lang.String saveName) |
boolean |
isOldMapFormat(java.lang.String saveName) |
canLoadWorld, deleteFiles, deleteWorldDirectory, getBackupsFolder, getFile, getWorldData, getWorldData, getWorldFolder, getWorldInfo, isNewLevelIdAcceptable, renameWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBackup
public AnvilSaveConverter(java.nio.file.Path p_i49567_1_, java.nio.file.Path p_i49567_2_, com.mojang.datafixers.DataFixer p_i49567_3_)
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, @Nullable MinecraftServer server)
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