类 Coal
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Coal
- 所有已实现的接口:
Cloneable
已过时。
代表不同类型的煤炭。
-
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Coal
public Coal()已过时。 -
Coal
已过时。 -
Coal
已过时。 -
Coal
已过时。魔法值- 参数:
type- 类型data- 原始数据值
-
-
方法详细资料
-
getType
已过时。获取此煤炭的当前类型。- 返回:
- 此煤炭的 CoalType
原文:Gets the current type of this coal
-
setType
已过时。设置此煤炭的类型。- 参数:
type- 此煤炭的新类型原文:Sets the type of this coal
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。