Interface Speleothem
- All Superinterfaces:
BlockData, Cloneable, Waterlogged
- All Known Subinterfaces:
PointedDripstone
'thickness' represents the speleothem thickness.
'vertical_direction' represents the speleothem orientation.
Some blocks may not be able to face in all directions, use
'vertical_direction' represents the speleothem orientation.
Some blocks may not be able to face in all directions, use
getVerticalDirections() to get all possible directions for this
block.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents the thickness of the speleothem, corresponding to its position within a multi-block speleothem formation. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'thickness' property.Gets the value of the 'vertical_direction' property.Gets the faces which are applicable to this block.voidsetThickness(Speleothem.Thickness thickness) Sets the value of the 'thickness' property.voidsetVerticalDirection(BlockFace direction) Sets the value of the 'vertical_direction' property.Methods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
getVerticalDirection
BlockFace getVerticalDirection()Gets the value of the 'vertical_direction' property.- Returns:
- the 'vertical_direction' value
-
setVerticalDirection
Sets the value of the 'vertical_direction' property.- Parameters:
direction- the new 'vertical_direction' value
-
getVerticalDirections
-
getThickness
Speleothem.Thickness getThickness()Gets the value of the 'thickness' property.- Returns:
- the 'thickness' value
-
setThickness
Sets the value of the 'thickness' property.- Parameters:
thickness- the new 'thickness' value
-