org.bukkit.material
public class Dye extends MaterialData implements Colorable
| Constructor and Description | 
|---|
Dye()  | 
Dye(int type)
Deprecated. 
 
Magic value 
 | 
Dye(int type,
   byte data)
Deprecated. 
 
Magic value 
 | 
Dye(Material type)  | 
Dye(Material type,
   byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Dye | 
clone()  | 
DyeColor | 
getColor()
Gets the current color of this dye 
 | 
void | 
setColor(DyeColor color)
Sets the color of this dye 
 | 
String | 
toString()  | 
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Dye()
@Deprecated public Dye(int type)
public Dye(Material type)
@Deprecated public Dye(int type, byte data)
@Deprecated public Dye(Material type, byte data)
public DyeColor getColor()
public void setColor(DyeColor color)
public String toString()
toString in class MaterialDatapublic Dye clone()
clone in class MaterialDataCopyright © 2014. All rights reserved.