程序包 | 说明 |
---|---|
org.bukkit |
Bukkit的常用类.
|
org.bukkit.entity |
为在
世界 内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
org.bukkit.material |
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
|
限定符和类型 | 方法和说明 |
---|---|
static TreeSpecies |
TreeSpecies.getByData(byte data)
已过时。
不安全的参数
|
static TreeSpecies |
TreeSpecies.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static TreeSpecies[] |
TreeSpecies.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
TreeSpecies |
Boat.getWoodType()
获取船的木质种类.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Boat.setWoodType(TreeSpecies species)
设置船的木质种类.
|
限定符和类型 | 字段和说明 |
---|---|
protected static TreeSpecies |
Wood.DEFAULT_SPECIES |
限定符和类型 | 方法和说明 |
---|---|
TreeSpecies |
Wood.getSpecies()
获取这个木头的树木种类.
|
限定符和类型 | 方法和说明 |
---|---|
static Material |
Door.getWoodDoorOfSpecies(TreeSpecies species)
Returns the item type of a wooden door for the given tree species.
|
void |
Wood.setSpecies(TreeSpecies species)
设置木头的树木种类.
|
构造器和说明 |
---|
Door(TreeSpecies species,
BlockFace face)
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to
closed
|
Door(TreeSpecies species,
BlockFace face,
boolean isOpen)
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
Door(TreeSpecies species,
boolean isHingeRight)
Constructs the top half of a wooden door of the given species and with the hinge on the left or right
|
Leaves(Material type,
TreeSpecies species)
Constructs a leaf block of the given type and tree species.
|
Leaves(Material type,
TreeSpecies species,
boolean isDecayable)
Constructs a leaf block of the given type and tree species and flag for
whether this leaf block will disappear when too far from a log.
|
Leaves(TreeSpecies species)
Constructs a leaf block of the given tree species.
|
Leaves(TreeSpecies species,
boolean isDecayable)
Constructs a leaf block of the given tree species and flag for whether
this leaf block will disappear when too far from a log.
|
Sapling(Material type,
TreeSpecies species)
以给定的物品种类和树木种类构造本类.
|
Sapling(Material type,
TreeSpecies species,
boolean isInstantGrowable)
以给定的物品种类和树木种类和是否瞬间长大构造本类.
|
Sapling(TreeSpecies species)
以给定的树木种类构造本类.
|
Sapling(TreeSpecies species,
boolean isInstantGrowable)
以给定的树木种类和是否顷刻间长成构造本类.
|
Tree(Material type,
TreeSpecies species)
Constructs a tree block of the given type and tree species.
|
Tree(Material type,
TreeSpecies species,
BlockFace dir)
Constructs a tree block of the given type and tree species, and facing
the given direction.
|
Tree(TreeSpecies species)
Constructs a tree block of the given tree species.
|
Tree(TreeSpecies species,
BlockFace dir)
Constructs a tree block of the given tree species, and facing the given
direction.
|
Wood(Material type,
TreeSpecies species)
以给定的物品种类和树木种类构造本类.
|
Wood(TreeSpecies species)
以给定的树木种类构造本类.
|
WoodenStep(TreeSpecies species)
以给定的树木种类构造本类.
|
WoodenStep(TreeSpecies species,
boolean inv)
以给定的树木种类和台阶类型(上半台阶和普通台阶)构造本类.
|