Enum Class Biome.Precipitation

java.lang.Object
java.lang.Enum<Biome.Precipitation>
net.minecraft.world.level.biome.Biome.Precipitation
All Implemented Interfaces:
Serializable, Comparable<Biome.Precipitation>, Constable, StringRepresentable
Enclosing class:
Biome

public static enum Biome.Precipitation extends Enum<Biome.Precipitation> implements StringRepresentable
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • Precipitation

      private Precipitation(String p_47725_)
  • Method Details

    • values

      public static Biome.Precipitation[] 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 Biome.Precipitation 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
    • getName

      public String getName()
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface StringRepresentable