YATS/Forge Documentation
|
Public Member Functions | |
ISaveHandler | getSaveLoader (String s, boolean flag) |
List | getSaveList () throws AnvilConverterException |
void | flushCache () |
WorldInfo | getWorldInfo (String s) |
boolean | deleteWorldDirectory (String s) |
void | renameWorld (String s, String s1) |
boolean | isOldMapFormat (String s) |
boolean | convertMapFormat (String s, IProgressUpdate iprogressupdate) |
boolean | canLoadWorld (String s) |
boolean net.minecraft.world.storage.ISaveFormat.canLoadWorld | ( | String | s) |
Return whether the given world can be loaded.
Implemented in net.minecraft.world.storage.SaveFormatOld.
boolean net.minecraft.world.storage.ISaveFormat.convertMapFormat | ( | String | s, |
IProgressUpdate | iprogressupdate | ||
) |
Converts the specified map to the new map format. Args: worldName, loadingScreen
Implemented in net.minecraft.world.storage.SaveFormatOld, and net.minecraft.world.chunk.storage.AnvilSaveConverter.
boolean net.minecraft.world.storage.ISaveFormat.deleteWorldDirectory | ( | String | s) |
: Takes one argument - the name of the directory of the world to delete. : Delete the world by deleting the associated directory recursively.
Implemented in net.minecraft.world.storage.SaveFormatOld.
void net.minecraft.world.storage.ISaveFormat.flushCache | ( | ) |
List net.minecraft.world.storage.ISaveFormat.getSaveList | ( | ) | throws AnvilConverterException |
ISaveHandler net.minecraft.world.storage.ISaveFormat.getSaveLoader | ( | String | s, |
boolean | flag | ||
) |
Returns back a loader for the specified save directory
Implemented in net.minecraft.world.storage.SaveFormatOld, and net.minecraft.world.chunk.storage.AnvilSaveConverter.
WorldInfo net.minecraft.world.storage.ISaveFormat.getWorldInfo | ( | String | s) |
gets the world info
Implemented in net.minecraft.world.storage.SaveFormatOld.
boolean net.minecraft.world.storage.ISaveFormat.isOldMapFormat | ( | String | s) |
Checks if the save directory uses the old map format
Implemented in net.minecraft.world.storage.SaveFormatOld, and net.minecraft.world.chunk.storage.AnvilSaveConverter.
void net.minecraft.world.storage.ISaveFormat.renameWorld | ( | String | s, |
String | s1 | ||
) |
: Takes two arguments - first the name of the directory containing the world and second the new name for that world. : Renames the world by storing the new name in level.dat. It does not rename the directory containing the world data.
Implemented in net.minecraft.world.storage.SaveFormatOld.