接口 LeafLitter

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

public interface LeafLitter extends Directional
'segment_amount' 表示片段的数量.
  • 方法详细资料

    • getSegmentAmount

      int getSegmentAmount()
      获取 'segment_amount' 属性的值.

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

      返回:
      'segment_amount' 的值
    • setSegmentAmount

      void setSegmentAmount(int segment_amount)
      设置 'segment_amount' 属性的值.

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

      参数:
      segment_amount - 新的 'segment_amount' 值
    • getMaximumSegmentAmount

      int getMaximumSegmentAmount()
      获取 'segment_amount' 属性允许的最大值.

      原文: Gets the maximum allowed value of the 'segment_amount' property.

      返回:
      'segment_amount' 的最大值