save To Output Stream
abstract fun saveToOutputStream(target: OutputStream): ProgressToken<Void>
Content copied to clipboard
Saves the blocks and entities from the world into into a structure.nbt binary stream.
This call does not block and finishes in the future. Use ProgressToken ()} for cancellation or callbacks.
Return
Instance of ProgressToken.
Parameters
target
Open binary outputStream. Does not close the outputStream.