枚举的使用
org.bukkit.block.data.type.RedstoneWire.Connection
使用RedstoneWire.Connection的程序包
-
org.bukkit.block.data.type中RedstoneWire.Connection的使用
修饰符和类型方法说明查看指定方块朝向上的连接类型.static RedstoneWire.Connection
返回带有指定名称的该类型的枚举常量。static RedstoneWire.Connection[]
RedstoneWire.Connection.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明void
RedstoneWire.setFace
(@NotNull BlockFace face, @NotNull RedstoneWire.Connection connection) 设置指定方块朝向上的连接类型.