Package net.minecraft.src
Class AnvilSaveConverter
java.lang.Object
net.minecraft.src.SaveFormatOld
net.minecraft.src.AnvilSaveConverter
- All Implemented Interfaces:
ISaveFormat
-
Field Summary
Fields inherited from class net.minecraft.src.SaveFormatOld
savesDirectory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertMapFormat(String par1Str, IProgressUpdate par2IProgressUpdate) Converts the specified map to the new map format.voidgetSaveLoader(String par1Str, boolean par2) Returns back a loader for the specified save directorygetSaveLoader2(String par1Str, boolean par2) protected intbooleanisOldMapFormat(String par1Str) Checks if the save directory uses the old map formatMethods inherited from class net.minecraft.src.SaveFormatOld
canLoadWorld, deleteFiles, deleteWorldDirectory, getWorldInfo, getWorldInfoCustom, isWorldGlobal, renameWorld
-
Constructor Details
-
AnvilSaveConverter
-
-
Method Details
-
getSaveList
- Specified by:
getSaveListin interfaceISaveFormat- Overrides:
getSaveListin classSaveFormatOld- Throws:
AnvilConverterException
-
getSaveVersion
protected int getSaveVersion() -
flushCache
public void flushCache()- Specified by:
flushCachein interfaceISaveFormat- Overrides:
flushCachein classSaveFormatOld
-
getSaveLoader
Returns back a loader for the specified save directory- Specified by:
getSaveLoaderin interfaceISaveFormat- Overrides:
getSaveLoaderin classSaveFormatOld
-
isOldMapFormat
Checks if the save directory uses the old map format- Specified by:
isOldMapFormatin interfaceISaveFormat- Overrides:
isOldMapFormatin classSaveFormatOld
-
convertMapFormat
Converts the specified map to the new map format. Args: worldName, loadingScreen- Specified by:
convertMapFormatin interfaceISaveFormat- Overrides:
convertMapFormatin classSaveFormatOld
-
getSaveLoader2
- Specified by:
getSaveLoader2in interfaceISaveFormat- Overrides:
getSaveLoader2in classSaveFormatOld
-