BlockData.@Deprecated public class Coal extends MaterialData
| Constructor and Description | 
|---|
Coal()
Deprecated.  
  | 
Coal(CoalType type)
Deprecated.  
  | 
Coal(Material type)
Deprecated.  
  | 
Coal(Material type,
    byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Coal | 
clone()
Deprecated.  
  | 
CoalType | 
getType()
Deprecated.  
Gets the current type of this coal 
 | 
void | 
setType(CoalType type)
Deprecated.  
Sets the type of this coal 
 | 
String | 
toString()
Deprecated.  
  | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Coal()
public Coal(CoalType type)
public Coal(Material type)
@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 © 2021. All rights reserved.