Enum Class AnimalTemperature

java.lang.Object
java.lang.Enum<AnimalTemperature>
net.minecraft.entity.passive.AnimalTemperature
All Implemented Interfaces:
Serializable, Comparable<AnimalTemperature>, Constable

public enum AnimalTemperature extends Enum<AnimalTemperature>
Represents temperatures associated with pig and frog variants.
Mappings:
Namespace Name
named net/minecraft/entity/passive/AnimalTemperature
intermediary net/minecraft/class_10589
official cir
  • Enum Constant Details

    • TEMPERATE

      public static final AnimalTemperature TEMPERATE
      Mappings:
      Namespace Name Mixin selector
      named TEMPERATE Lnet/minecraft/entity/passive/AnimalTemperature;TEMPERATE:Lnet/minecraft/entity/passive/AnimalTemperature;
      intermediary field_55700 Lnet/minecraft/class_10589;field_55700:Lnet/minecraft/class_10589;
      official a Lcir;a:Lcir;
    • WARM

      public static final AnimalTemperature WARM
      Mappings:
      Namespace Name Mixin selector
      named WARM Lnet/minecraft/entity/passive/AnimalTemperature;WARM:Lnet/minecraft/entity/passive/AnimalTemperature;
      intermediary field_55701 Lnet/minecraft/class_10589;field_55701:Lnet/minecraft/class_10589;
      official b Lcir;b:Lcir;
    • COLD

      public static final AnimalTemperature COLD
      Mappings:
      Namespace Name Mixin selector
      named COLD Lnet/minecraft/entity/passive/AnimalTemperature;COLD:Lnet/minecraft/entity/passive/AnimalTemperature;
      intermediary field_55702 Lnet/minecraft/class_10589;field_55702:Lnet/minecraft/class_10589;
      official c Lcir;c:Lcir;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/AnimalTemperature;name:Ljava/lang/String;
      intermediary field_55703 Lnet/minecraft/class_10589;field_55703:Ljava/lang/String;
      official d Lcir;d:Ljava/lang/String;
  • Constructor Details

    • AnimalTemperature

      private AnimalTemperature(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/AnimalTemperature;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10589;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lcir;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static AnimalTemperature[] 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 AnimalTemperature 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()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/passive/AnimalTemperature;getName()Ljava/lang/String;
      intermediary method_66321 Lnet/minecraft/class_10589;method_66321()Ljava/lang/String;
      official a Lcir;a()Ljava/lang/String;