Package org.bukkit.material
Class Wool
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.Wool
-
@Deprecated public class Wool extends MaterialData implements Colorable
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData
.Represents a Wool/Cloth block
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Wool
clone()
Deprecated.DyeColor
getColor()
Deprecated.Gets the current color of this dyevoid
setColor(DyeColor color)
Deprecated.Sets the color of this dyeString
toString()
Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
Wool
public Wool()
Deprecated.
-
Wool
public Wool(DyeColor color)
Deprecated.
-
Wool
public Wool(Material type)
Deprecated.
-
Wool
@Deprecated public Wool(Material type, byte data)
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Detail
-
getColor
public DyeColor getColor()
Deprecated.Gets the current color of this dye
-
setColor
public void setColor(DyeColor color)
Deprecated.Sets the color of this dye
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
public Wool clone()
Deprecated.- Overrides:
clone
in classMaterialData
-
-