net.minecraft.world.storage

## Interface ISaveFormat

- All Known Implementing Classes:
    AnvilSaveConverter, SaveFormatOld

      public interface ISaveFormat

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `canLoadWorld(String s)`
    `boolean` | `convertMapFormat(String s, IProgressUpdate iprogressupdate)` Converts the specified map to the new map format.
    `boolean` | `deleteWorldDirectory(String s)`
    `void` | `flushCache()`
    `List` | `getSaveList()`
    `ISaveHandler` | `getSaveLoader(String s, boolean flag)` Returns back a loader for the specified save directory
    `WorldInfo` | `getWorldInfo(String s)`
    `boolean` | `isOldMapFormat(String s)` Checks if the save directory uses the old map format
    `void` | `renameWorld(String s, String s1)`

- - ### Method Detail

    - #### getSaveLoader

          ISaveHandler getSaveLoader(String s,
                                   boolean flag)

      Returns back a loader for the specified save directory

    - #### getSaveList

          List getSaveList()
                           throws AnvilConverterException

      Throws:
        `AnvilConverterException`

    - #### flushCache

          void flushCache()

    - #### getWorldInfo

          WorldInfo getWorldInfo(String s)

    - #### deleteWorldDirectory

          boolean deleteWorldDirectory(String s)

    - #### renameWorld

          void renameWorld(String s,
                         String s1)

    - #### isOldMapFormat

          boolean isOldMapFormat(String s)

      Checks if the save directory uses the old map format

    - #### convertMapFormat

          boolean convertMapFormat(String s,
                                 IProgressUpdate iprogressupdate)

      Converts the specified map to the new map format. Args: worldName, loadingScreen

    - #### canLoadWorld

          boolean canLoadWorld(String s)