Structure Saver
Bukkit Wrapper for the StructureSaver.
Functions
get Location
Link copied to clipboard
Gets the source Location.
get Restriction
Link copied to clipboard
Gets the size restriction.
get Structure Void Type Name
Link copied to clipboard
This internal value is no longer exposed since 1.18.2.
include Entities
Link copied to clipboard
abstract fun includeEntities(enabled: Boolean): StructureSaverAbstract<L, V>
Content copied to clipboard
Should entities be included in the save file.
is Include Entities Enabled
Link copied to clipboard
Should entities included in the saved file.
restriction
Link copied to clipboard
abstract fun restriction(structureRestriction: StructureRestriction): StructureSaverAbstract<L, V>
Content copied to clipboard
Restricts the structure to a certain size if a larger area is selected with offset.
save To File
Link copied to clipboard
Saves the blocks and entities from the world into into a structure.nbt file.
save To Output Stream
Link copied to clipboard
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.
save To Path
Link copied to clipboard
Saves the blocks and entities from the world into into a structure.nbt file.
save To String
Link copied to clipboard
Saves the blocks and entities from the world into into a structure.nbt binary as Base64 encoded string.
save To World
Link copied to clipboard
abstract fun saveToWorld(worldName: String, author: String, name: String): ProgressToken<Void>
Content copied to clipboard
Saves the blocks and entities from the world into into a structure.nbt file located in the world folder, author folder.
structure Void Type Name
Link copied to clipboard
Content copied to clipboard
This value is no longer used since 1.18.2.