Class SpongeSchematicReader

java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.NBTSchematicReader
com.sk89q.worldedit.extent.clipboard.io.SpongeSchematicReader
All Implemented Interfaces:
ClipboardReader, Closeable, AutoCloseable

@Deprecated public class SpongeSchematicReader extends NBTSchematicReader
Deprecated.
Legacy multi-version reader. Do not use, pick a versioned one from BuiltInClipboardFormat.
  • Constructor Details

    • SpongeSchematicReader

      public SpongeSchematicReader(NBTInputStream inputStream)
      Deprecated.
  • Method Details

    • read

      public Clipboard read() throws IOException
      Deprecated.
      Description copied from interface: ClipboardReader
      Read a Clipboard.
      Returns:
      the read clipboard
      Throws:
      IOException - thrown on I/O error
    • getDataVersion

      public OptionalInt getDataVersion()
      Deprecated.
      Description copied from interface: ClipboardReader
      Get the DataVersion from a file (if possible).
      Returns:
      The data version, or empty
    • close

      public void close() throws IOException
      Deprecated.
      Throws:
      IOException