枚举的使用
org.bukkit.entity.CopperGolem.CopperWeatherState
-
org.bukkit.entity中CopperGolem.CopperWeatherState的使用
修饰符和类型方法说明CopperGolem.getWeatherState()Gets the golem's current weather state.返回带有指定名称的该类型的枚举常量。static CopperGolem.CopperWeatherState[]CopperGolem.CopperWeatherState.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明voidCopperGolem.setWeatherState(@NotNull CopperGolem.CopperWeatherState state) Sets the golem's current wheather state