枚举的使用
org.bukkit.block.DecoratedPot.Side
使用DecoratedPot.Side的程序包
-
org.bukkit.block中DecoratedPot.Side的使用
修饰符和类型方法说明static DecoratedPot.Side
返回带有指定名称的该类型的枚举常量。static DecoratedPot.Side[]
DecoratedPot.Side.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。返回变量类型为DecoratedPot.Side的类型的org.bukkit.block中的方法修饰符和类型方法说明DecoratedPot.getSherds()
Gets a Map of all sides on this decorated pot and the sherds on them.参数类型为DecoratedPot.Side的org.bukkit.block中的方法修饰符和类型方法说明DecoratedPot.getSherd
(@NotNull DecoratedPot.Side side) Get the sherd on the provided side.void
DecoratedPot.setSherd
(@NotNull DecoratedPot.Side side, @Nullable Material sherd) Set the sherd on the provided side.