YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.chunk.storage.AnvilSaveConverter Class Reference
Inheritance diagram for net.minecraft.world.chunk.storage.AnvilSaveConverter:
net.minecraft.world.storage.SaveFormatOld net.minecraft.world.storage.ISaveFormat

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
 

Constructor & Destructor Documentation

net.minecraft.world.chunk.storage.AnvilSaveConverter.AnvilSaveConverter ( File  par1File)

Member Function Documentation

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 ( )
List net.minecraft.world.chunk.storage.AnvilSaveConverter.getSaveList ( ) throws AnvilConverterException
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.

int net.minecraft.world.chunk.storage.AnvilSaveConverter.getSaveVersion ( )
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.


The documentation for this class was generated from the following file: