类 Wood
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
- 所有已实现的接口:
Cloneable
- 直接已知子类:
Leaves
,Sapling
,Tree
,WoodenStep
已过时。
Represents wood blocks of different species.
-
字段概要
字段 -
构造器概要
构造器构造器说明Wood()
已过时。Constructs a wood block.已过时。Constructs a wood block of the given type.已过时。Magic valueWood
(Material type, TreeSpecies species) 已过时。Constructs a wood block of the given type and tree species.Wood
(TreeSpecies species) 已过时。Constructs a wood block of the given tree species. -
方法概要
修饰符和类型方法说明clone()
已过时。已过时。Gets the current species of this wood blockvoid
setSpecies
(TreeSpecies species) 已过时。Sets the species of this wood blocktoString()
已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
字段详细资料
-
DEFAULT_TYPE
已过时。 -
DEFAULT_SPECIES
已过时。
-
-
构造器详细资料
-
Wood
public Wood()已过时。Constructs a wood block. -
Wood
已过时。Constructs a wood block of the given tree species.- 参数:
species
- the species of the wood block
-
Wood
已过时。Constructs a wood block of the given type.- 参数:
type
- the type of wood block
-
Wood
已过时。Constructs a wood block of the given type and tree species.- 参数:
type
- the type of wood blockspecies
- the species of the wood block
-
Wood
已过时。Magic value- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
getSpecies
已过时。Gets the current species of this wood block- 返回:
- TreeSpecies of this wood block
-
setSpecies
已过时。Sets the species of this wood block- 参数:
species
- New species of this wood block
-
toString
已过时。- 覆盖:
toString
在类中MaterialData
-
clone
已过时。- 覆盖:
clone
在类中MaterialData
-
BlockData
.