|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.Dye
public class Dye
Represents dye
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
Dye |
clone()
|
DyeColor |
getColor()
Gets the current color of this dye |
void |
setColor(DyeColor color)
Sets the color of this dye |
String |
toString()
|
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Dye()
@Deprecated public Dye(int type)
public Dye(Material type)
@Deprecated
public Dye(int type,
byte data)
@Deprecated
public Dye(Material type,
byte data)
| Method Detail |
|---|
public DyeColor getColor()
getColor in interface Colorablepublic void setColor(DyeColor color)
setColor in interface Colorablecolor - New color of this dyepublic String toString()
toString in class MaterialDatapublic Dye clone()
clone in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||