Coal

public class Coal extends MaterialData

Represents the different types of coals.

Constructors

Link copied to clipboard
public void Coal()
public void Coal(CoalType type)
public void Coal(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Coal clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public CoalType getType()
Gets the current type of this coal
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setType(CoalType type)
Sets the type of this coal
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()