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

# 接口 SculkSensor

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

所有已知子接口:
  `CalibratedSculkSensor`

public interface SculkSensor extends AnaloguePowerable, Waterlogged
'sculk_sensor_phase' indicates the current operational phase of the sensor.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  接口
  说明
  `static enum`
  `SculkSensor.Phase`
  The Phase of the sensor.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull SculkSensor.Phase`
  `getPhase()`
  Gets the value of the 'sculk_sensor_phase' property.
  `void`
  `setPhase(@NotNull SculkSensor.Phase phase)`
  Sets the value of the 'sculk_sensor_phase' property.

  ### 从接口继承的方法 org.bukkit.block.data.AnaloguePowerable

  `getMaximumPower, getPower, setPower`

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

- ## 方法详细资料

  - ### getPhase

    @NotNull @NotNull SculkSensor.Phase getPhase()
    Gets the value of the 'sculk_sensor_phase' property.
    返回:
      the 'sculk_sensor_phase' value

  - ### setPhase

    void setPhase(@NotNull @NotNull SculkSensor.Phase phase)
    Sets the value of the 'sculk_sensor_phase' property.
    参数:
      `phase` - the new 'sculk_sensor_phase' value