public class Wool extends MaterialData implements Colorable
Constructor and Description |
---|
Wool() |
Wool(DyeColor color) |
Wool(int type)
Deprecated.
Magic value
|
Wool(int type,
byte data)
Deprecated.
Magic value
|
Wool(Material type) |
Wool(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Wool |
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, toItemStack
public Wool()
public Wool(DyeColor color)
@Deprecated public Wool(int type)
public Wool(Material type)
@Deprecated public Wool(int type, byte data)
@Deprecated public Wool(Material type, byte data)
public DyeColor getColor()
public void setColor(DyeColor color)
public String toString()
toString
in class MaterialData
public Wool clone()
clone
in class MaterialData
Copyright © 2015. All rights reserved.