枚举的使用
org.bukkit.block.data.type.Chest.Type
使用Chest.Type的程序包
-
org.bukkit.block.data.type中Chest.Type的使用
修饰符和类型方法说明Chest.getType()
获取 'type' 数据值.static Chest.Type
返回带有指定名称的该类型的枚举常量。static Chest.Type[]
Chest.Type.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为Chest.Type的org.bukkit.block.data.type中的方法