接口 PointedDripstone

所有超级接口:
BlockData, Cloneable, Waterlogged

public interface PointedDripstone extends Waterlogged
'thickness' 表示滴水石锥的粗细程度.
'vertical_direction' 表示滴水石锥的朝向.
某些方块可能无法朝向所有方向,使用 getVerticalDirections() 获取此方块所有可能的方向.
  • 方法详细资料

    • getVerticalDirection

      @NotNull @NotNull BlockFace getVerticalDirection()
      获取 'vertical_direction' 属性的值.

      原文: Gets the value of the 'vertical_direction' property.

      返回:
      'vertical_direction' 的值
    • setVerticalDirection

      void setVerticalDirection(@NotNull @NotNull BlockFace direction)
      设置 'vertical_direction' 属性的值.

      原文: Sets the value of the 'vertical_direction' property.

      参数:
      direction - 新的 'vertical_direction' 值
    • getVerticalDirections

      @NotNull @NotNull Set<BlockFace> getVerticalDirections()
      获取此方块适用的面.

      原文: Gets the faces which are applicable to this block.

      返回:
      允许的 'vertical_direction' 值
    • getThickness

      获取 'thickness' 属性的值.

      原文: Gets the value of the 'thickness' property.

      返回:
      'thickness' 的值
    • setThickness

      void setThickness(@NotNull @NotNull PointedDripstone.Thickness thickness)
      设置 'thickness' 属性的值.

      原文: Sets the value of the 'thickness' property.

      参数:
      thickness - 新的 'thickness' 值