Package org.bukkit.material
Class Wool
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wool
Represents a Wool/Cloth block
-
Constructor Summary
Constructors -
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.Magic value- Parameters:
type
- the raw type id
-
Wool
-
Wool
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
- Overrides:
toString
in classMaterialData
-
clone
- Overrides:
clone
in classMaterialData
-