Enum Class TemperatureModifier

java.lang.Object
java.lang.Enum<TemperatureModifier>
dev.wyck.biome.TemperatureModifier
All Implemented Interfaces:
WrappedEnumerator<TemperatureModifier>, Serializable, Comparable<TemperatureModifier>, Constable

@NullMarked @AsOf("0.0.1") @Generated("2026-07-15T18:48:22.501525Z") public enum TemperatureModifier extends Enum<TemperatureModifier> implements WrappedEnumerator<TemperatureModifier>
Auto-generated. Do not modify! Run ./gradlew generateSources to regenerate.

This enum represents the temperature modifier for a biome in Minecraft. It includes two values: NONE and FROZEN, which correspond to the TemperatureModifier values in the Biome class in the Minecraft code. Each enum value carries a vanilla key, retrievable via getKey(), which the impl module translates to the underlying NMS value.

Since:
0.0.1
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static TemperatureModifier[] 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 TemperatureModifier 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
    • getKey

      @AsOf("0.0.1") public String getKey()
      The vanilla name for this TemperatureModifier value.
      Returns:
      the vanilla key for this enum value
      Since:
      0.0.1
    • translator

      @AsOf("0.0.1") public KeyedEnumTranslator<TemperatureModifier> translator()
      Specified by:
      translator in interface WrappedEnumerator<TemperatureModifier>