YATS/Forge Documentation
|
Public Member Functions | |
AnvilSaveConverter (File par1File) | |
List | getSaveList () throws AnvilConverterException |
void | flushCache () |
ISaveHandler | getSaveLoader (String par1Str, boolean par2) |
boolean | isOldMapFormat (String par1Str) |
boolean | convertMapFormat (String par1Str, IProgressUpdate par2IProgressUpdate) |
Public Member Functions inherited from net.minecraft.world.storage.SaveFormatOld | |
SaveFormatOld (File par1File) | |
List | getSaveList () throws AnvilConverterException |
void | flushCache () |
WorldInfo | getWorldInfo (String par1Str) |
void | renameWorld (String par1Str, String par2Str) |
boolean | deleteWorldDirectory (String par1Str) |
ISaveHandler | getSaveLoader (String par1Str, boolean par2) |
boolean | isOldMapFormat (String par1Str) |
boolean | convertMapFormat (String par1Str, IProgressUpdate par2IProgressUpdate) |
boolean | canLoadWorld (String par1Str) |
Protected Member Functions | |
int | getSaveVersion () |
Additional Inherited Members | |
Static Protected Member Functions inherited from net.minecraft.world.storage.SaveFormatOld | |
static boolean | deleteFiles (File[] par0ArrayOfFile) |
Protected Attributes inherited from net.minecraft.world.storage.SaveFormatOld | |
final File | savesDirectory |
net.minecraft.world.chunk.storage.AnvilSaveConverter.AnvilSaveConverter | ( | File | par1File) |
boolean net.minecraft.world.chunk.storage.AnvilSaveConverter.convertMapFormat | ( | String | par1Str, |
IProgressUpdate | par2IProgressUpdate | ||
) |
Converts the specified map to the new map format. Args: worldName, loadingScreen
Implements net.minecraft.world.storage.ISaveFormat.
void net.minecraft.world.chunk.storage.AnvilSaveConverter.flushCache | ( | ) |
Implements net.minecraft.world.storage.ISaveFormat.
List net.minecraft.world.chunk.storage.AnvilSaveConverter.getSaveList | ( | ) | throws AnvilConverterException |
Implements net.minecraft.world.storage.ISaveFormat.
ISaveHandler net.minecraft.world.chunk.storage.AnvilSaveConverter.getSaveLoader | ( | String | par1Str, |
boolean | par2 | ||
) |
Returns back a loader for the specified save directory
Implements net.minecraft.world.storage.ISaveFormat.
|
protected |
boolean net.minecraft.world.chunk.storage.AnvilSaveConverter.isOldMapFormat | ( | String | par1Str) |
Checks if the save directory uses the old map format
Implements net.minecraft.world.storage.ISaveFormat.