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 Summary
ConstructorDescriptionCoal()
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 Summary
Modifier 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 coalvoid
Deprecated, 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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Coal
public Coal()Deprecated, for removal: This API element is subject to removal in a future version. -
Coal
Deprecated, for removal: This API element is subject to removal in a future version. -
Coal
Deprecated, for removal: This API element is subject to removal in a future version. -
Coal
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
getType
Deprecated, 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
-
setType
Deprecated, 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
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.