Interface ISaveFormat

All Known Implementing Classes:
AnvilSaveConverter, SaveFormatOld

public interface ISaveFormat
  • Method Details

    • getSaveLoader

      ISaveHandler getSaveLoader(String var1, boolean var2)
      Returns back a loader for the specified save directory
    • getSaveList

      List getSaveList() throws AnvilConverterException
      Throws:
      AnvilConverterException
    • flushCache

      void flushCache()
    • getWorldInfo

      WorldInfo getWorldInfo(String var1)
      gets the world info
    • deleteWorldDirectory

      boolean deleteWorldDirectory(String var1)
      Delete the world by deleting the associated directory recursively.
      Parameters:
      var1 - The name of the directory of the world to delete
    • renameWorld

      void renameWorld(String var1, String var2)
      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

      boolean isOldMapFormat(String var1)
      Checks if the save directory uses the old map format
    • convertMapFormat

      boolean convertMapFormat(String var1, IProgressUpdate var2)
      Converts the specified map to the new map format. Args: worldName, loadingScreen
    • canLoadWorld

      boolean canLoadWorld(String var1)
      Return whether the given world can be loaded.
    • getSaveLoader2

      ISaveHandler getSaveLoader2(String var1, boolean var2)
    • isWorldGlobal

      boolean isWorldGlobal(String var1)