枚举的使用
org.bukkit.entity.CopperGolem.CopperWeatherState
-
org.bukkit.entity中CopperGolem.CopperWeatherState的使用
修饰符和类型方法说明CopperGolem.getWeatherState()获取傀儡当前的氧化状态。返回带有指定名称的该类型的枚举常量。static CopperGolem.CopperWeatherState[]CopperGolem.CopperWeatherState.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明voidCopperGolem.setWeatherState(@NotNull CopperGolem.CopperWeatherState state) 设置傀儡当前的氧化状态。