saveToPath

abstract fun saveToPath(target: Path): ProgressToken<Void>

Saves the blocks and entities from the world into into a structure.nbt file.

This call does not block and finishes in the future. Use ProgressToken ()} for cancellation or callbacks.

Return

Instance of ProgressToken.

Parameters

target

Non existing or existing file. Overrides existing files.