java.lang.Cloneable, Colorablepublic class Wool extends MaterialData implements Colorable
| Constructor | Description |
|---|---|
Wool() |
|
Wool(int type) |
Deprecated.
Magic value
|
Wool(int type,
byte data) |
Deprecated.
Magic value
|
Wool(DyeColor color) |
|
Wool(Material type) |
|
Wool(Material type,
byte data) |
Deprecated.
Magic value
|
| Modifier and Type | Method | Description |
|---|---|---|
Wool |
clone() |
|
DyeColor |
getColor() |
Gets the current color of this dye
|
void |
setColor(DyeColor color) |
Sets the color of this dye
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Wool()
public Wool(DyeColor color)
@Deprecated public Wool(int type)
type - the raw type idpublic Wool(Material type)
@Deprecated
public Wool(int type,
byte data)
type - the raw type iddata - the raw data value@Deprecated public Wool(Material type, byte data)
type - the typedata - the raw data valuepublic DyeColor getColor()
public void setColor(DyeColor color)
public java.lang.String toString()
toString in class MaterialDatapublic Wool clone()
clone in class MaterialDataCopyright © 2018. All rights reserved.