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 Dye
clone()
Deprecated.DyeColor
getColor()
Deprecated.Gets the current color of this dyevoid
setColor(DyeColor color)
Deprecated.Sets the color of this dyeString
toString()
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:
toString
in classMaterialData
-
clone
public Dye clone()
Deprecated.- Overrides:
clone
in classMaterialData
-
-