public class Coal extends MaterialData
Constructor and Description |
---|
Coal() |
Coal(CoalType type) |
Coal(int type)
Deprecated.
Magic value
|
Coal(int type,
byte data)
Deprecated.
Magic value
|
Coal(Material type) |
Coal(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Coal |
clone() |
CoalType |
getType()
Gets the current type of this coal
|
void |
setType(CoalType type)
Sets the type of this coal
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Coal()
public Coal(CoalType type)
@Deprecated public Coal(int type)
public Coal(Material type)
@Deprecated public Coal(int type, byte data)
@Deprecated public Coal(Material type, byte data)
public CoalType getType()
public void setType(CoalType type)
type
- New type of this coalpublic String toString()
toString
in class MaterialData
public Coal clone()
clone
in class MaterialData
Copyright © 2015. All rights reserved.