public class Coal extends MaterialData
| Constructor and Description | 
|---|
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| Coal | clone() | 
| CoalType | getType()Gets the current type of this coal | 
| void | setType(CoalType type)Sets the type of this coal | 
| String | toString() | 
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Coal()
public Coal(CoalType type)
@Deprecated public Coal(int type)
type - the raw type idpublic Coal(Material type)
@Deprecated public Coal(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Coal(Material type, byte data)
type - the typedata - the raw data valuepublic CoalType getType()
public void setType(CoalType type)
type - New type of this coalpublic String toString()
toString in class MaterialDatapublic Coal clone()
clone in class MaterialDataCopyright © 2016. All rights reserved.