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