Enum Class ClimateType

java.lang.Object
java.lang.Enum<ClimateType>
emu.grasscutter.game.props.ClimateType
All Implemented Interfaces:
Serializable, Comparable<ClimateType>, Constable

public enum ClimateType extends Enum<ClimateType>
  • Enum Constant Details

    • CLIMATE_NONE

      public static final ClimateType CLIMATE_NONE
    • CLIMATE_SUNNY

      public static final ClimateType CLIMATE_SUNNY
    • CLIMATE_CLOUDY

      public static final ClimateType CLIMATE_CLOUDY
    • CLIMATE_RAIN

      public static final ClimateType CLIMATE_RAIN
    • CLIMATE_THUNDERSTORM

      public static final ClimateType CLIMATE_THUNDERSTORM
    • CLIMATE_SNOW

      public static final ClimateType CLIMATE_SNOW
    • CLIMATE_MIST

      public static final ClimateType CLIMATE_MIST
  • Method Details

    • values

      public static ClimateType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClimateType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • getTypeByValue

      public static ClimateType getTypeByValue(int value)
    • getTypeByName

      public static ClimateType getTypeByName(String name)