Class ZippedLegacyChunkStore

All Implemented Interfaces:
Closeable, AutoCloseable

public class ZippedLegacyChunkStore extends LegacyChunkStore
Represents the chunk store used by Minecraft alpha but zipped.
  • Constructor Details

    • ZippedLegacyChunkStore

      public ZippedLegacyChunkStore(File zipFile, String folder) throws IOException, ZipException
      Create an instance. The folder argument lets you choose a folder or path to look into in the ZIP for the files. Use a blank string for the folder to not look into a subdirectory.
      Parameters:
      zipFile - the zip file
      folder - the folder
      Throws:
      IOException - if there is an error opening the zip
      ZipException - if there is an error opening the zip
    • ZippedLegacyChunkStore

      public ZippedLegacyChunkStore(File zipFile) throws IOException, ZipException
      Create an instance. The subfolder containing the chunk data will be detected.
      Parameters:
      zipFile - the zip file
      Throws:
      IOException - if there is an error opening the zip
      ZipException - if there is an error opening the zip
  • Method Details