Package org.bukkit.material
Class Wool
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wool
- All Implemented Interfaces:
java.lang.Cloneable,Colorable
public class Wool extends MaterialData implements Colorable
Represents a Wool/Cloth block
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Wool
public Wool() -
Wool
-
Wool
@Deprecated public Wool(int type)Deprecated.Magic value- Parameters:
type- the raw type id
-
Wool
-
Wool
@Deprecated public Wool(int type, byte data)Deprecated.Magic value- Parameters:
type- the raw type iddata- the raw data value
-
Wool
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Details
-
getColor
Gets the current color of this dye -
setColor
Sets the color of this dye -
toString
public java.lang.String toString()- Overrides:
toStringin classMaterialData
-
clone
- Overrides:
clonein classMaterialData
-