Class RedstoneWire

    • Constructor Detail

      • RedstoneWire

        public RedstoneWire()
        Deprecated.
      • RedstoneWire

        public RedstoneWire​(Material type)
        Deprecated.
      • RedstoneWire

        @Deprecated
        public RedstoneWire​(Material type,
                            byte data)
        Deprecated.
        Magic value
        Parameters:
        type - the type
        data - the raw data value
    • Method Detail

      • isPowered

        public boolean isPowered()
        Deprecated.
        Gets the current state of this Material, indicating if it's powered or unpowered
        Specified by:
        isPowered in interface Redstone
        Returns:
        true if powered, otherwise false