Package net.minecraft.src
Interface ISaveFormat
- All Known Implementing Classes:
AnvilSaveConverter,SaveFormatOld
public interface ISaveFormat
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanLoadWorld(String var1) Return whether the given world can be loaded.booleanconvertMapFormat(String var1, IProgressUpdate var2) Converts the specified map to the new map format.booleandeleteWorldDirectory(String var1) Delete the world by deleting the associated directory recursively.voidgetSaveLoader(String var1, boolean var2) Returns back a loader for the specified save directorygetSaveLoader2(String var1, boolean var2) getWorldInfo(String var1) gets the world infobooleanisOldMapFormat(String var1) Checks if the save directory uses the old map formatbooleanisWorldGlobal(String var1) voidrenameWorld(String var1, String var2) Renames the world by storing the new name in level.dat.
-
Method Details
-
getSaveLoader
Returns back a loader for the specified save directory -
getSaveList
- Throws:
AnvilConverterException
-
flushCache
void flushCache() -
getWorldInfo
gets the world info -
deleteWorldDirectory
Delete the world by deleting the associated directory recursively.- Parameters:
var1- The name of the directory of the world to delete
-
renameWorld
Renames the world by storing the new name in level.dat. It does *not* rename the directory containing the world data.- Parameters:
var1- The directory containing the world.var2- The new name for the world.
-
isOldMapFormat
Checks if the save directory uses the old map format -
convertMapFormat
Converts the specified map to the new map format. Args: worldName, loadingScreen -
canLoadWorld
Return whether the given world can be loaded. -
getSaveLoader2
-
isWorldGlobal
-