枚举的使用
org.bukkit.TreeSpecies
使用TreeSpecies的程序包
程序包
说明
Bukkit的常用类.
为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
-
org.bukkit中TreeSpecies的使用
返回TreeSpecies的org.bukkit中的方法修饰符和类型方法说明static TreeSpecies
TreeSpecies.getByData
(byte data) 已过时。不安全的参数static TreeSpecies
返回带有指定名称的该类型的枚举常量。static TreeSpecies[]
TreeSpecies.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。 -
org.bukkit.entity中TreeSpecies的使用
返回TreeSpecies的org.bukkit.entity中的方法参数类型为TreeSpecies的org.bukkit.entity中的方法 -
org.bukkit.material中TreeSpecies的使用
声明为TreeSpecies的org.bukkit.material中的字段参数类型为TreeSpecies的org.bukkit.material中的方法修饰符和类型方法说明static Material
Door.getWoodDoorOfSpecies
(TreeSpecies species) Returns the item type of a wooden door for the given tree species.void
Wood.setSpecies
(TreeSpecies species) 设置木头的树木种类.参数类型为TreeSpecies的org.bukkit.material中的构造器限定符构造器说明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 rightDoor
(TreeSpecies species, BlockFace face) Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to closedDoor
(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 closedLeaves
(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) 以给定的树木种类和台阶类型(上半台阶和普通台阶)构造本类.