程序包 org.bukkit.block.data.type

# 接口 SeaPickle

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

public interface SeaPickle extends Waterlogged
'pickles' 值表示该方块有多少个海泡菜.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `int`
  `getMaximumPickles()`
  获取 'pickles' 属性所允许的最大值.
  `int`
  `getMinimumPickles()`
  获取 'pickles' 属性所允许的最小值.
  `int`
  `getPickles()`
  获取 'pickles' 属性的值.
  `void`
  `setPickles(int pickles)`
  设置 'pickles' 属性的值.

  ### 从接口继承的方法 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`

- ## 方法详细资料

  - ### 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' 属性值