Class MCEditSchematicReader
java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.NBTSchematicReader
com.sk89q.worldedit.extent.clipboard.io.MCEditSchematicReader
- All Implemented Interfaces:
ClipboardReader
,Closeable
,AutoCloseable
Reads schematic files that are compatible with MCEdit and other editors.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sk89q.worldedit.extent.clipboard.io.NBTSchematicReader
getTag, requireTag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.clipboard.io.ClipboardReader
getDataVersion
-
Constructor Details
-
MCEditSchematicReader
Create a new instance.- Parameters:
inputStream
- the input stream to read from
-
-
Method Details
-
read
Description copied from interface:ClipboardReader
Read aClipboard
.- Returns:
- the read clipboard
- Throws:
IOException
- thrown on I/O error
-
close
- Throws:
IOException
-