Package net.minecraft.entity.passive
Enum AxolotlEntity.Variant
- All Implemented Interfaces:
Serializable,Comparable<AxolotlEntity.Variant>,java.lang.constant.Constable
- Enclosing class:
- AxolotlEntity
public static enum AxolotlEntity.Variant extends Enum<AxolotlEntity.Variant>
- Mappings:
Namespace Name official beb$eintermediary net/minecraft/class_5762$class_5767named net/minecraft/entity/passive/AxolotlEntity$Variant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description intgetId()StringgetName()private static AxolotlEntity.VariantgetRandom(Random random, boolean includeUnnatural)static AxolotlEntity.VariantgetRandomAll(Random random)static AxolotlEntity.VariantgetRandomNatural(Random random)static AxolotlEntity.VariantvalueOf(String name)Returns the enum constant of this type with the specified name.static AxolotlEntity.Variant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LUCY
- Mappings:
Namespace Name Mixin selector official aLbeb$e;a:Lbeb$e;intermediary field_28341Lnet/minecraft/class_5762$class_5767;field_28341:Lnet/minecraft/class_5762$class_5767;named LUCYLnet/minecraft/entity/passive/AxolotlEntity$Variant;LUCY:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
WILD
- Mappings:
Namespace Name Mixin selector official bLbeb$e;b:Lbeb$e;intermediary field_28342Lnet/minecraft/class_5762$class_5767;field_28342:Lnet/minecraft/class_5762$class_5767;named WILDLnet/minecraft/entity/passive/AxolotlEntity$Variant;WILD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
GOLD
- Mappings:
Namespace Name Mixin selector official cLbeb$e;c:Lbeb$e;intermediary field_28343Lnet/minecraft/class_5762$class_5767;field_28343:Lnet/minecraft/class_5762$class_5767;named GOLDLnet/minecraft/entity/passive/AxolotlEntity$Variant;GOLD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
CYAN
- Mappings:
Namespace Name Mixin selector official dLbeb$e;d:Lbeb$e;intermediary field_28344Lnet/minecraft/class_5762$class_5767;field_28344:Lnet/minecraft/class_5762$class_5767;named CYANLnet/minecraft/entity/passive/AxolotlEntity$Variant;CYAN:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
BLUE
- Mappings:
Namespace Name Mixin selector official eLbeb$e;e:Lbeb$e;intermediary field_28345Lnet/minecraft/class_5762$class_5767;field_28345:Lnet/minecraft/class_5762$class_5767;named BLUELnet/minecraft/entity/passive/AxolotlEntity$Variant;BLUE:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
-
Field Details
-
VARIANTS
- Mappings:
Namespace Name Mixin selector official fLbeb$e;f:[Lbeb$e;intermediary field_28346Lnet/minecraft/class_5762$class_5767;field_28346:[Lnet/minecraft/class_5762$class_5767;named VARIANTSLnet/minecraft/entity/passive/AxolotlEntity$Variant;VARIANTS:[Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official gLbeb$e;g:Iintermediary field_28347Lnet/minecraft/class_5762$class_5767;field_28347:Inamed idLnet/minecraft/entity/passive/AxolotlEntity$Variant;id:I
-
name
- Mappings:
Namespace Name Mixin selector official hLbeb$e;h:Ljava/lang/String;intermediary field_28348Lnet/minecraft/class_5762$class_5767;field_28348:Ljava/lang/String;named nameLnet/minecraft/entity/passive/AxolotlEntity$Variant;name:Ljava/lang/String;
-
natural
private final boolean natural- Mappings:
Namespace Name Mixin selector official iLbeb$e;i:Zintermediary field_28349Lnet/minecraft/class_5762$class_5767;field_28349:Znamed naturalLnet/minecraft/entity/passive/AxolotlEntity$Variant;natural:Z
-
-
Constructor Details
-
Variant
- Mappings:
Namespace Name Mixin selector official <init>Lbeb$e;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_5762$class_5767;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vnamed <init>Lnet/minecraft/entity/passive/AxolotlEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLbeb$e;a()Iintermediary method_33233Lnet/minecraft/class_5762$class_5767;method_33233()Inamed getIdLnet/minecraft/entity/passive/AxolotlEntity$Variant;getId()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLbeb$e;b()Ljava/lang/String;intermediary method_33238Lnet/minecraft/class_5762$class_5767;method_33238()Ljava/lang/String;named getNameLnet/minecraft/entity/passive/AxolotlEntity$Variant;getName()Ljava/lang/String;
-
getRandomAll
- Mappings:
Namespace Name Mixin selector official aLbeb$e;a(Ljava/util/Random;)Lbeb$e;intermediary method_33235Lnet/minecraft/class_5762$class_5767;method_33235(Ljava/util/Random;)Lnet/minecraft/class_5762$class_5767;named getRandomAllLnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomAll(Ljava/util/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
getRandomNatural
- Mappings:
Namespace Name Mixin selector official bLbeb$e;b(Ljava/util/Random;)Lbeb$e;intermediary method_33240Lnet/minecraft/class_5762$class_5767;method_33240(Ljava/util/Random;)Lnet/minecraft/class_5762$class_5767;named getRandomNaturalLnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomNatural(Ljava/util/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-
getRandom
- Mappings:
Namespace Name Mixin selector official aLbeb$e;a(Ljava/util/Random;Z)Lbeb$e;intermediary method_33236Lnet/minecraft/class_5762$class_5767;method_33236(Ljava/util/Random;Z)Lnet/minecraft/class_5762$class_5767;named getRandomLnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandom(Ljava/util/Random;Z)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
-