org.bukkit.material
Class Coal
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Coal
- All Implemented Interfaces:
- Cloneable
public class Coal
- extends MaterialData
Represents the different types of coals.
Coal
public Coal()
Coal
public Coal(CoalType type)
Coal
public Coal(int type)
Coal
public Coal(Material type)
Coal
public Coal(int type,
byte data)
Coal
public Coal(Material type,
byte data)
getType
public CoalType getType()
- Gets the current type of this coal
- Returns:
- CoalType of this coal
setType
public void setType(CoalType type)
- Sets the type of this coal
- Parameters:
type
- New type of this coal
toString
public String toString()
- Overrides:
toString
in class MaterialData
clone
public Coal clone()
- Overrides:
clone
in class MaterialData
Copyright © 2013. All Rights Reserved.