类 Wood
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Wood
- 所有已实现的接口:
Cloneable
- 直接已知子类:
Leaves
,Sapling
,Tree
,WoodenStep
代表不同种类的木头方块.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, 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
- 木头的树木种类
-
Wood
已过时。不安全的参数- 参数:
type
- the raw type id
-
Wood
以给定的物品种类构造本类.原文:Constructs a wood block of the given type.
- 参数:
type
- 木头的物品种类
-
Wood
以给定的物品种类和树木种类构造本类.原文:Constructs a wood block of the given type and tree species.
- 参数:
type
- 木头的物品种类species
- 木头的树木种类
-
Wood
已过时。不安全的参数- 参数:
type
- the raw type iddata
- the raw data value
-
Wood
已过时。不安全的参数- 参数:
type
- the typedata
- the raw data value
-
-
方法详细资料
-
getSpecies
获取这个木头的树木种类.原文:Gets the current species of this wood block
- 返回:
- 木头的树木种类
-
setSpecies
设置木头的树木种类.原文:Sets the species of this wood block
- 参数:
species
- 新种类
-
toString
- 覆盖:
toString
在类中MaterialData
-
clone
- 覆盖:
clone
在类中MaterialData
-