StructureBlockSaveAbstract

interface StructureBlockSaveAbstract<L, V> : StructureBlockConstructionAbstract<L>

Functions

getAuthor
Link copied to clipboard
abstract fun getAuthor(): String
Returns the author of the structure.
getSaveName
Link copied to clipboard
abstract fun getSaveName(): String
Returns the name of the save.
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.
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.
isInvisibleBlocksEnabled
Link copied to clipboard
abstract fun isInvisibleBlocksEnabled(): Boolean
Returns if invisibleBlocks are visible.
saveStructure
Link copied to clipboard
abstract fun saveStructure(): StructureSaverAbstract<L, V>
Gets the associated StructureSaverAbstract instance which contains the current block properties.
setAuthor
Link copied to clipboard
abstract fun setAuthor(author: String)
Sets the author of the structure.
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.
setInvisibleBlocksEnabled
Link copied to clipboard
abstract fun setInvisibleBlocksEnabled(flag: Boolean)
Sets if invisibleBlocks should be visible.
setSaveName
Link copied to clipboard
abstract fun setSaveName(name: String)
Sets the name of the save.
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.

Inheritors

StructureBlockSave
Link copied to clipboard