Class FastSchematicReader
java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.NBTSchematicReader
com.fastasyncworldedit.core.extent.clipboard.io.FastSchematicReader
- All Implemented Interfaces:
ClipboardReader
,Closeable
,AutoCloseable
Reads schematic files using the Sponge Schematic Specification.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
read
(UUID uuid, Function<BlockVector3, Clipboard> createOutput) void
setBrokenEntities
(boolean brokenEntities) 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, read, read
-
Constructor Details
-
FastSchematicReader
Create a new instance.- Parameters:
inputStream
- the input stream to read from
-
-
Method Details
-
setBrokenEntities
public void setBrokenEntities(boolean brokenEntities) -
createVersionDelegate
-
createDelegate
-
read
- Throws:
IOException
-
close
- Throws:
IOException
-