Package org.bukkit.material
Class Dye
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Dye
-
@Deprecated public class Dye extends MaterialData implements Colorable
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData.Represents dye
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Dyeclone()Deprecated.DyeColorgetColor()Deprecated.Gets the current color of this dyevoidsetColor(DyeColor color)Deprecated.Sets the color of this dyeStringtoString()Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
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 typedata- 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
-
setColor
public void setColor(DyeColor color)
Deprecated.Sets the color of this dye
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classMaterialData
-
clone
public Dye clone()
Deprecated.- Overrides:
clonein classMaterialData
-
-