枚举的使用
org.bukkit.TreeSpecies
使用TreeSpecies的程序包
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
-
org.bukkit中TreeSpecies的使用
返回TreeSpecies的org.bukkit中的方法修饰符和类型方法说明static @Nullable 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) 已过时。返回用你给定的树种做成的木门的物品.void
Wood.setSpecies
(TreeSpecies species) 已过时。Sets the species of this wood block参数类型为TreeSpecies的org.bukkit.material中的构造器限定符构造器说明Door
(TreeSpecies species, boolean isHingeRight) 已过时。以指定树种和朝向构造门的上半部分,并指定门轴在左侧还是右侧.Door
(TreeSpecies species, BlockFace face) 已过时。以指定树种和朝向构造一个木门的下半部分(关着的门).Door
(TreeSpecies species, BlockFace face, boolean isOpen) 已过时。以指定树种和朝向构造门的下半部分,并设置这个门关着还是开着.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) 已过时。Constructs a sapling of the given type and tree species.Sapling
(Material type, TreeSpecies species, boolean isInstantGrowable) 已过时。Constructs a sapling of the given type and tree species and if is it instant growableSapling
(TreeSpecies species) 已过时。Constructs a sapling of the given tree species.Sapling
(TreeSpecies species, boolean isInstantGrowable) 已过时。Constructs a sapling of the given tree species and if is it instant growableTree
(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) 已过时。Constructs a wood block of the given type and tree species.Wood
(TreeSpecies species) 已过时。Constructs a wood block of the given tree species.WoodenStep
(TreeSpecies species) 已过时。以指定的树种构造本类.WoodenStep
(TreeSpecies species, boolean inv) 已过时。以指定的树种和台阶类型(上半台阶和普通台阶)构造本类.