StructureBlockLibApi

interface StructureBlockLibApi

Root Api entry.

Functions

getStructureBlockAt
Link copied to clipboard
abstract fun <T : StructureBlock?> getStructureBlockAt(location: Location, plugin: Plugin): T
Gets or creates a StructureBlock at the given location.
loadStructure
Link copied to clipboard
abstract fun loadStructure(plugin: Plugin): StructureLoader
Creates a new instance of the StructureLoader for loading structures from a source into the minecraft world.
saveStructure
Link copied to clipboard
abstract fun saveStructure(plugin: Plugin): StructureSaver
Creates a new instance of the StructureSaver for saving structures from a minecraft world into a target.

Properties

INSTANCE
Link copied to clipboard
val INSTANCE: StructureBlockLib
Accesses the StructureBlockLibApi.

Inheritors

StructureBlockLib
Link copied to clipboard