public class Coal extends MaterialData
コンストラクタと説明 |
---|
Coal() |
Coal(CoalType type) |
Coal(int type)
非推奨です。
Magic value
|
Coal(int type,
byte data)
非推奨です。
Magic value
|
Coal(Material type) |
Coal(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
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)
type
- the raw type idpublic Coal(Material type)
@Deprecated public Coal(int type, byte data)
type
- the raw type iddata
- the raw data value@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
クラス内 MaterialData
public Coal clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.