Interface Redstone

All Known Implementing Classes:
Button, Command, Comparator, Diode, Hopper, Lever, Observer, PistonBaseMaterial, PoweredRail, RedstoneTorch, RedstoneWire, TripwireHook

@Deprecated(forRemoval=true, since="1.13") public interface Redstone
Deprecated, for removal: This API element is subject to removal in a future version.
Indicated a Material that may carry or create a Redstone current
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the current state of this Material, indicating if it's powered or unpowered
  • Method Details

    • isPowered

      boolean isPowered()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the current state of this Material, indicating if it's powered or unpowered
      Returns:
      true if powered, otherwise false