接口 FlowerBed

所有超级接口:
BlockData, Cloneable, Directional
所有已知子接口:
PinkPetals

public interface FlowerBed extends Directional
'flower_amount' 表示花瓣的数量.
  • 方法详细资料

    • getFlowerAmount

      int getFlowerAmount()
      获取 'flower_amount' 属性的值.

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

      返回:
      'flower_amount' 的值
    • setFlowerAmount

      void setFlowerAmount(int flower_amount)
      设置 'flower_amount' 属性的值.

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

      参数:
      flower_amount - 新的 'flower_amount' 值
    • getMaximumFlowerAmount

      int getMaximumFlowerAmount()
      获取 'flower_amount' 属性允许的最大值.

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

      返回:
      'flower_amount' 的最大值