Class Dye

    • Constructor Detail

      • Dye

        public Dye()
        Deprecated.
      • Dye

        public Dye​(Material type)
        Deprecated.
      • Dye

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

        public Dye​(DyeColor color)
        Deprecated.
        Parameters:
        color - color of the dye
    • Method Detail

      • getColor

        public DyeColor getColor()
        Deprecated.
        Gets the current color of this dye
        Specified by:
        getColor in interface Colorable
        Returns:
        DyeColor of this dye
      • setColor

        public void setColor​(DyeColor color)
        Deprecated.
        Sets the color of this dye
        Specified by:
        setColor in interface Colorable
        Parameters:
        color - New color of this dye