Package net.minecraft.entity.passive
Enum Class AnimalTemperature
- All Implemented Interfaces:
Serializable,Comparable<AnimalTemperature>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/passive/AnimalTemperatureintermediary net/minecraft/class_10589official cir
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static AnimalTemperatureReturns the enum constant of this class with the specified name.static AnimalTemperature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEMPERATE
- Mappings:
Namespace Name Mixin selector named TEMPERATELnet/minecraft/entity/passive/AnimalTemperature;TEMPERATE:Lnet/minecraft/entity/passive/AnimalTemperature;intermediary field_55700Lnet/minecraft/class_10589;field_55700:Lnet/minecraft/class_10589;official aLcir;a:Lcir;
-
WARM
- Mappings:
Namespace Name Mixin selector named WARMLnet/minecraft/entity/passive/AnimalTemperature;WARM:Lnet/minecraft/entity/passive/AnimalTemperature;intermediary field_55701Lnet/minecraft/class_10589;field_55701:Lnet/minecraft/class_10589;official bLcir;b:Lcir;
-
COLD
- Mappings:
Namespace Name Mixin selector named COLDLnet/minecraft/entity/passive/AnimalTemperature;COLD:Lnet/minecraft/entity/passive/AnimalTemperature;intermediary field_55702Lnet/minecraft/class_10589;field_55702:Lnet/minecraft/class_10589;official cLcir;c:Lcir;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/passive/AnimalTemperature;name:Ljava/lang/String;intermediary field_55703Lnet/minecraft/class_10589;field_55703:Ljava/lang/String;official dLcir;d:Ljava/lang/String;
-
-
Constructor Details
-
AnimalTemperature
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/AnimalTemperature;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_10589;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lcir;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/entity/passive/AnimalTemperature;getName()Ljava/lang/String;intermediary method_66321Lnet/minecraft/class_10589;method_66321()Ljava/lang/String;official aLcir;a()Ljava/lang/String;
-