Package org.bukkit.material
Class Coal
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Coal
- All Implemented Interfaces:
- Cloneable
Deprecated.
Represents the different types of coals.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Coalpublic Coal()Deprecated.
- 
CoalDeprecated.
- 
CoalDeprecated.
- 
CoalDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getTypeDeprecated.Gets the current type of this coal- Returns:
- CoalType of this coal
 
- 
setTypeDeprecated.Sets the type of this coal- Parameters:
- type- New type of this coal
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.