接口 PointedDripstone
- 所有超级接口:
BlockData,Cloneable,Waterlogged
'thickness' 表示滴水石锥的粗细程度.
'vertical_direction' 表示滴水石锥的朝向.
某些方块可能无法朝向所有方向,使用
'vertical_direction' 表示滴水石锥的朝向.
某些方块可能无法朝向所有方向,使用
getVerticalDirections() 获取此方块所有可能的方向.-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明获取 'thickness' 属性的值.获取 'vertical_direction' 属性的值.获取此方块适用的面.voidsetThickness(@NotNull PointedDripstone.Thickness thickness) 设置 'thickness' 属性的值.voidsetVerticalDirection(@NotNull BlockFace direction) 设置 'vertical_direction' 属性的值.从接口继承的方法 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
获取 'vertical_direction' 属性的值.原文: Gets the value of the 'vertical_direction' property.
- 返回:
- 'vertical_direction' 的值
-
setVerticalDirection
设置 'vertical_direction' 属性的值.原文: Sets the value of the 'vertical_direction' property.
- 参数:
direction- 新的 'vertical_direction' 值
-
getVerticalDirections
获取此方块适用的面.原文: Gets the faces which are applicable to this block.
- 返回:
- 允许的 'vertical_direction' 值
-
getThickness
获取 'thickness' 属性的值.原文: Gets the value of the 'thickness' property.
- 返回:
- 'thickness' 的值
-
setThickness
设置 'thickness' 属性的值.原文: Sets the value of the 'thickness' property.
- 参数:
thickness- 新的 'thickness' 值
-