Class PoweredRail

    • Constructor Detail

      • PoweredRail

        public PoweredRail()
        Deprecated.
      • PoweredRail

        public PoweredRail​(Material type)
        Deprecated.
      • PoweredRail

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

      • isPowered

        public boolean isPowered()
        Deprecated.
        Description copied from interface: Redstone
        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
      • setPowered

        public void setPowered​(boolean isPowered)
        Deprecated.
        Set whether this PoweredRail should be powered or not.
        Parameters:
        isPowered - whether or not the rail is powered