Package org.bukkit.material
Class Coal
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Coal
- All Implemented Interfaces:
Cloneable
@Deprecated public class Coal extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Represents the different types of coals.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
getType
Deprecated.Gets the current type of this coal- Returns:
- CoalType of this coal
-
setType
Deprecated.Sets the type of this coal- Parameters:
type
- New type of this coal
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-