Interface AnaloguePowerable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
CalibratedSculkSensor, DaylightDetector, RedstoneWire, SculkSensor

public interface AnaloguePowerable extends BlockData
'power' represents the redstone power level currently being emitted or transmitted via this block.
May not be over 9000 or getMaximumPower() (usually 15).
  • Method Details

    • getPower

      int getPower()
      Gets the value of the 'power' property.
      the 'power' value
    • setPower

      void setPower(int power)
      Sets the value of the 'power' property.
      power - the new 'power' value
    • getMaximumPower

      int getMaximumPower()
      Gets the maximum allowed value of the 'power' property.
      the maximum 'power' value