Interface SculkSensor

All Superinterfaces:
AnaloguePowerable, BlockData, Cloneable, Waterlogged
All Known Subinterfaces:
CalibratedSculkSensor

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

    • getPhase

      @NotNull @Deprecated default @NotNull SculkSensor.Phase getPhase()
      Deprecated.
      bad name, use getSculkSensorPhase()
      Gets the value of the 'sculk_sensor_phase' property.
      Returns:
      the 'sculk_sensor_phase' value
    • setPhase

      @Deprecated default void setPhase(@NotNull @NotNull SculkSensor.Phase phase)
      Deprecated.
      Sets the value of the 'sculk_sensor_phase' property.
      Parameters:
      phase - the new 'sculk_sensor_phase' value
    • getSculkSensorPhase

      @NotNull @NotNull SculkSensor.Phase getSculkSensorPhase()
      Gets the value of the 'sculk_sensor_phase' property.
      Returns:
      the 'sculk_sensor_phase' value
    • setSculkSensorPhase

      void setSculkSensorPhase(@NotNull @NotNull SculkSensor.Phase phase)
      Sets the value of the 'sculk_sensor_phase' property.
      Parameters:
      phase - the new 'sculk_sensor_phase' value