|
||||||||||
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.Coal
public class Coal
Represents the different types of coals.
Constructor Summary | |
---|---|
Coal()
|
|
Coal(CoalType type)
|
|
Coal(int type)
Deprecated. Magic value |
|
Coal(int type,
byte data)
Deprecated. Magic value |
|
Coal(Material type)
|
|
Coal(Material type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Coal |
clone()
|
CoalType |
getType()
Gets the current type of this coal |
void |
setType(CoalType type)
Sets the type of this coal |
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 Coal()
public Coal(CoalType type)
@Deprecated public Coal(int type)
public Coal(Material type)
@Deprecated public Coal(int type, byte data)
@Deprecated public Coal(Material type, byte data)
Method Detail |
---|
public CoalType getType()
public void setType(CoalType type)
type
- New type of this coalpublic String toString()
toString
in class MaterialData
public Coal clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |