|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Wool
public class Wool
Represents a Wool/Cloth block
Constructor Summary | |
---|---|
Wool()
|
|
Wool(DyeColor color)
|
|
Wool(int type)
Deprecated. Magic value |
|
Wool(int type,
byte data)
Deprecated. Magic value |
|
Wool(Material type)
|
|
Wool(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Wool |
clone()
|
DyeColor |
getColor()
Gets the current color of this dye |
void |
setColor(DyeColor color)
Sets the color of this dye |
String |
toString()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Wool()
public Wool(DyeColor color)
@Deprecated public Wool(int type)
public Wool(Material type)
@Deprecated public Wool(int type, byte data)
@Deprecated public Wool(Material type, byte data)
Method Detail |
---|
public DyeColor getColor()
getColor
in interface Colorable
public void setColor(DyeColor color)
setColor
in interface Colorable
color
- New color of this dyepublic String toString()
toString
in class MaterialData
public Wool clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |