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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents the thickness of the dripstone, corresponding to its position within a multi-block dripstone formation. -
Method Summary
Modifier and TypeMethodDescription@NotNull PointedDripstone.ThicknessGets the value of the 'thickness' property.@NotNull BlockFaceGets the value of the 'vertical_direction' property.Gets the faces which are applicable to this block.voidsetThickness(@NotNull PointedDripstone.Thickness thickness) Sets the value of the 'thickness' property.voidsetVerticalDirection(@NotNull BlockFace direction) Sets the value of the 'vertical_direction' property.Methods inherited from interface org.bukkit.block.data.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 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
-