org.bukkit.material
Class Wool
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wool
- All Implemented Interfaces:
- Cloneable, Colorable
public class Wool
- extends MaterialData
- implements Colorable
Represents a Wool/Cloth block
Wool
public Wool()
Wool
public Wool(DyeColor color)
Wool
public Wool(int type)
Wool
public Wool(Material type)
Wool
public Wool(int type,
byte data)
Wool
public Wool(Material type,
byte data)
getColor
public DyeColor getColor()
- Gets the current color of this dye
- Specified by:
getColor
in interface Colorable
- Returns:
- DyeColor of this dye
setColor
public void setColor(DyeColor color)
- Sets the color of this dye
- Specified by:
setColor
in interface Colorable
- Parameters:
color
- New color of this dye
toString
public String toString()
- Overrides:
toString
in class MaterialData
clone
public Wool clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.