Class Dye

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Dye
All Implemented Interfaces:
java.lang.Cloneable, Colorable

public class Dye
extends MaterialData
implements Colorable
Represents dye
  • Constructor Details

    • Dye

      public Dye()
    • Dye

      @Deprecated public Dye​(int type)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
    • Dye

      public Dye​(Material type)
    • Dye

      @Deprecated public Dye​(int type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the raw type id
      data - the raw data value
    • 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)
      Parameters:
      color - color of the dye
  • Method Details