Interface StructureBlockLoadAbstract<L,V,B,E,W>
- All Superinterfaces:
StructureBlockAbstract,StructureBlockConstructionAbstract<L>,StructureBlockCornerAbstract
public interface StructureBlockLoadAbstract<L,V,B,E,W>
extends StructureBlockConstructionAbstract<L>
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the integrity of the structure.@NotNull StructureMirrorReturns the mirrorType of the structure when getting load.@NotNull StructureRotationReturns the rotation of the structure when getting load.longgetSeed()Returns the seed of the structure.booleanReturns if the boundingBox is visible.Gets the associatedStructureLoaderAbstractinstance which contains the current block properties.voidsetBoundingBoxVisible(boolean visible) Sets the boundingBoxVisibility.voidsetIntegrity(float integrity) Sets the integrity of the structure.voidsetMirrorType(@NotNull StructureMirror mirrorType) Sets the mirrorType of the structure when getting load.voidsetRotationType(@NotNull StructureRotation rotation) Sets the rotation of the structure when getting load.voidsetSeed(long seed) Sets the seed of the structure.Methods inherited from interface com.github.shynixn.structureblocklib.api.block.StructureBlockAbstract
getStructureMode, setStructureModeMethods inherited from interface com.github.shynixn.structureblocklib.api.block.StructureBlockConstructionAbstract
getAuthor, getSizeX, getSizeY, getSizeZ, getStructureLocation, isIncludeEntitiesEnabled, setAuthor, setIncludeEntities, setSizeX, setSizeY, setSizeZ, setStructureLocationMethods inherited from interface com.github.shynixn.structureblocklib.api.block.StructureBlockCornerAbstract
getSaveName, setSaveName
-
Method Details
-
setMirrorType
Sets the mirrorType of the structure when getting load.- Parameters:
mirrorType- mirrorType.
-
setRotationType
Sets the rotation of the structure when getting load.- Parameters:
rotation- rotation.
-
getRotationType
Returns the rotation of the structure when getting load.- Returns:
- rotation.
-
getMirrorType
Returns the mirrorType of the structure when getting load.- Returns:
- mirrorType.
-
setBoundingBoxVisible
void setBoundingBoxVisible(boolean visible) Sets the boundingBoxVisibility.- Parameters:
visible- visible.
-
isBoundingBoxVisible
boolean isBoundingBoxVisible()Returns if the boundingBox is visible.- Returns:
- visible.
-
setIntegrity
void setIntegrity(float integrity) Sets the integrity of the structure.- Parameters:
integrity- integrity.
-
getIntegrity
float getIntegrity()Returns the integrity of the structure.- Returns:
- integrity.
-
setSeed
void setSeed(long seed) Sets the seed of the structure.- Parameters:
seed- seed.
-
getSeed
long getSeed()Returns the seed of the structure.- Returns:
- seed.
-
loadStructure
Gets the associatedStructureLoaderAbstractinstance which contains the current block properties.- Returns:
- Loader.
-