枚举的使用
org.bukkit.block.data.type.SculkSensor.Phase
-
org.bukkit.block.data.type中SculkSensor.Phase的使用
修饰符和类型方法说明SculkSensor.getPhase()
Gets the value of the 'sculk_sensor_phase' property.static SculkSensor.Phase
返回带有指定名称的该类型的枚举常量。static SculkSensor.Phase[]
SculkSensor.Phase.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明void
SculkSensor.setPhase
(@NotNull SculkSensor.Phase phase) Sets the value of the 'sculk_sensor_phase' property.