saveToOutputStream

abstract fun saveToOutputStream(target: OutputStream): ProgressToken<Void>

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.