枚举的使用
org.bukkit.block.DecoratedPot.Side
-
org.bukkit.block中DecoratedPot.Side的使用
修饰符和类型方法说明static DecoratedPot.Side
返回带有指定名称的该类型的枚举常量。static DecoratedPot.Side[]
DecoratedPot.Side.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明DecoratedPot.getSherds()
Gets a Map of all sides on this decorated pot and the sherds on them.修饰符和类型方法说明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.