load From World
abstract fun loadFromWorld(worldName: String, author: String, name: String): ProgressToken<Void>
Content copied to clipboard
Loads the structure blocks and entities from the structure storage inside each world folder of Minecraft and places the blocks at the defined position.
This call does not block and finishes in the future. Use ProgressToken ()} for cancellation or callbacks.
Return
NotNull instance of ProgressToken.
Parameters
world Name
World where the structure file is stored.
author
Name of the structure author.
name
Name of the stored structure.