StructureBlockLoad

interface StructureBlockLoad : StructureBlockLoadAbstract<Location, Vector, Block, Entity, World> , StructureBlockConstruction

Bukkit Wrapper for the StructureBlock.

Functions

getAuthor
Link copied to clipboard
abstract fun getAuthor(): String
Returns the author of the structure.
getIntegrity
Link copied to clipboard
abstract fun getIntegrity(): Float
Returns the integrity of the structure.
getMirrorType
Link copied to clipboard
abstract fun getMirrorType(): StructureMirror
Returns the mirrorType of the structure when getting load.
getRotationType
Link copied to clipboard
abstract fun getRotationType(): StructureRotation
Returns the rotation of the structure when getting load.
getSaveName
Link copied to clipboard
abstract fun getSaveName(): String
Returns the name of the save.
getSeed
Link copied to clipboard
abstract fun getSeed(): Long
Returns the seed of the structure.
getSizeX
Link copied to clipboard
abstract fun getSizeX(): Int
Returns the size of the structure in X direction.
getSizeY
Link copied to clipboard
abstract fun getSizeY(): Int
Returns the size of the structure in Y direction.
getSizeZ
Link copied to clipboard
abstract fun getSizeZ(): Int
Returns the size of the structure in Z direction.
getStructureLocation
Link copied to clipboard
abstract fun getStructureLocation(): L
Returns the location of the structure.
getStructureMode
Link copied to clipboard
abstract fun getStructureMode(): StructureMode
Returns the type of the structureBlock.
isBoundingBoxVisible
Link copied to clipboard
abstract fun isBoundingBoxVisible(): Boolean
Returns if the boundingBox is visible.
isIncludeEntitiesEnabled
Link copied to clipboard
abstract fun isIncludeEntitiesEnabled(): Boolean
Should entities which may or may not be included in the saved file be included in the loaded/saved structure.
loadStructure
Link copied to clipboard
abstract fun loadStructure(): StructureLoaderAbstract<L, V, B, E, W>
Gets the associated StructureLoaderAbstract instance which contains the current block properties.
setAuthor
Link copied to clipboard
abstract fun setAuthor(author: String)
Sets the author of the structure.
setBoundingBoxVisible
Link copied to clipboard
abstract fun setBoundingBoxVisible(visible: Boolean)
Sets the boundingBoxVisibility.
setIncludeEntities
Link copied to clipboard
abstract fun setIncludeEntities(flag: Boolean)
Should entities which may or may not be included in the saved file be included in the loaded/saved structure.
setIntegrity
Link copied to clipboard
abstract fun setIntegrity(integrity: Float)
Sets the integrity of the structure.
setMirrorType
Link copied to clipboard
abstract fun setMirrorType(mirrorType: StructureMirror)
Sets the mirrorType of the structure when getting load.
setRotationType
Link copied to clipboard
abstract fun setRotationType(rotation: StructureRotation)
Sets the rotation of the structure when getting load.
setSaveName
Link copied to clipboard
abstract fun setSaveName(name: String)
Sets the name of the save.
setSeed
Link copied to clipboard
abstract fun setSeed(seed: Long)
Sets the seed of the structure.
setSizeX
Link copied to clipboard
abstract fun setSizeX(sizeX: Int)
Changes the size of the structure in X direction.
setSizeY
Link copied to clipboard
abstract fun setSizeY(sizeY: Int)
Changes the size of the structure in Y direction.
setSizeZ
Link copied to clipboard
abstract fun setSizeZ(sizeZ: Int)
Changes the size of the structure in Z direction.
setStructureLocation
Link copied to clipboard
abstract fun setStructureLocation(location: L)
Changes the location of the structure.
setStructureMode
Link copied to clipboard
abstract fun setStructureMode(structureMode: StructureMode)
Changes the type of the structureBlock.