类 Wood
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
- 所有已实现的接口:
Cloneable
- 直接已知子类:
Leaves,Sapling,Tree,WoodenStep
已过时。
代表不同树种的木头方块。
-
字段概要
字段 -
构造器概要
构造器构造器说明Wood()已过时。构造一个木头方块。已过时。构造一个给定类型的木头方块。已过时。魔法值Wood(Material type, TreeSpecies species) 已过时。构造一个给定类型和树种的木头方块。Wood(TreeSpecies species) 已过时。构造一个给定树种的木头方块。 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。获取此木头方块的当前树种。voidsetSpecies(TreeSpecies species) 已过时。设置此木头方块的树种。toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
字段详细资料
-
DEFAULT_TYPE
已过时。 -
DEFAULT_SPECIES
已过时。
-
-
构造器详细资料
-
Wood
public Wood()已过时。构造一个木头方块。原文:Constructs a wood block.
-
Wood
已过时。构造一个给定树种的木头方块。- 参数:
species- 木头方块的树种原文:Constructs a wood block of the given tree species.
-
Wood
已过时。构造一个给定类型的木头方块。- 参数:
type- 木头方块的类型原文:Constructs a wood block of the given type.
-
Wood
已过时。构造一个给定类型和树种的木头方块。- 参数:
type- 木头方块的类型species- 木头方块的树种原文:Constructs a wood block of the given type and tree species.
-
Wood
已过时。魔法值原文:Magic value
- 参数:
type- 物品类型data- 原始数据值
-
-
方法详细资料
-
getSpecies
已过时。获取此木头方块的当前树种。- 返回:
- 此木头方块的 TreeSpecies
原文:Gets the current species of this wood block
-
setSpecies
已过时。设置此木头方块的树种。- 参数:
species- 此木头方块的新树种原文:Sets the species of this wood block
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
BlockData。