BlockData
.@Deprecated public class Coal extends MaterialData
Constructor and Description |
---|
Coal()
Deprecated.
|
Coal(CoalType type)
Deprecated.
|
Coal(Material type)
Deprecated.
|
Coal(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Coal |
clone()
Deprecated.
|
CoalType |
getType()
Deprecated.
Gets the current type of this coal
|
void |
setType(CoalType type)
Deprecated.
Sets the type of this coal
|
String |
toString()
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Coal()
public Coal(CoalType type)
public Coal(Material type)
@Deprecated public Coal(Material type, byte data)
type
- the typedata
- the raw data valuepublic 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 © 2022. All rights reserved.