接口 PointedDripstone
- 所有超级接口:
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.-
嵌套类概要
修饰符和类型接口说明static enum
Represents the thickness of the dripstone, corresponding to its position within a multi-block dripstone formation. -
方法概要
修饰符和类型方法说明Gets 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
(@NotNull PointedDripstone.Thickness thickness) Sets the value of the 'thickness' property.void
setVerticalDirection
(@NotNull BlockFace direction) Sets the value of the 'vertical_direction' property.从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
从接口继承的方法 org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getVerticalDirection
Gets the value of the 'vertical_direction' property.- 返回:
- the 'vertical_direction' value
-
setVerticalDirection
Sets the value of the 'vertical_direction' property.- 参数:
direction
- the new 'vertical_direction' value
-
getVerticalDirections
Gets the faces which are applicable to this block.- 返回:
- the allowed 'vertical_direction' values
-
getThickness
Gets the value of the 'thickness' property.- 返回:
- the 'thickness' value
-
setThickness
Sets the value of the 'thickness' property.- 参数:
thickness
- the new 'thickness' value
-