Package org.bukkit.block.data.type
Interface PointedDripstone
- All Superinterfaces:
BlockData
,Cloneable
,Waterlogged
'thickness' represents the dripstone thickness.
'vertical_direction' represents the dripstone orientation.
Some blocks may not be able to face in all directions, use
'vertical_direction' represents the dripstone 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
Modifier and TypeInterfaceDescriptionstatic enum
Represents the thickness of the dripstone, corresponding to its position within a multi-block dripstone 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.void
setThickness
(PointedDripstone.Thickness thickness) Sets the value of the 'thickness' property.void
setVerticalDirection
(BlockFace direction) Sets the value of the 'vertical_direction' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
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
Gets the faces which are applicable to this block.- Returns:
- the allowed 'vertical_direction' values
-
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
-