接口 SeaPickle

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

public interface SeaPickle extends Waterlogged
'pickles' 值表示该方块有多少个海泡菜.
  • 方法详细资料

    • getPickles

      int getPickles()
      获取 'pickles' 属性的值.

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

      返回:
      属性 'pickles' 的值
    • setPickles

      void setPickles(int pickles)
      设置 'pickles' 属性的值.

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

      参数:
      pickles - 新的 'pickles' 属性值
    • getMinimumPickles

      int getMinimumPickles()
      获取 'pickles' 属性所允许的最小值.

      原文: Gets the minimum allowed value of the 'pickles' property.

      返回:
      最小 'pickles' 属性值
    • getMaximumPickles

      int getMaximumPickles()
      获取 'pickles' 属性所允许的最大值.

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

      返回:
      最大 'pickles' 属性值