Package org.bukkit.material
Class Coal
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Coal
- All Implemented Interfaces:
- Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents the different types of coals.
- 
Constructor SummaryConstructorsConstructorDescriptionCoal()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.getType()Deprecated, for removal: This API element is subject to removal in a future version.Gets the current type of this coalvoidDeprecated, for removal: This API element is subject to removal in a future version.Sets the type of this coaltoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Coalpublic Coal()Deprecated, for removal: This API element is subject to removal in a future version.
- 
CoalDeprecated, for removal: This API element is subject to removal in a future version.
- 
CoalDeprecated, for removal: This API element is subject to removal in a future version.
- 
CoalDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
getTypeDeprecated, for removal: This API element is subject to removal in a future version.Gets the current type of this coal- Returns:
- CoalType of this coal
 
- 
setTypeDeprecated, for removal: This API element is subject to removal in a future version.Sets the type of this coal- Parameters:
- type- New type of this coal
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.