Package net.minecraft.entity.passive
Enum Class AxolotlEntity.Variant
- All Implemented Interfaces:
Serializable
,Comparable<AxolotlEntity.Variant>
,Constable
,StringIdentifiable
- Enclosing class:
AxolotlEntity
public static enum AxolotlEntity.Variant
extends Enum<AxolotlEntity.Variant>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/AxolotlEntity$Variant
intermediary net/minecraft/class_5762$class_5767
official clk$e
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AxolotlEntity.Variant> static final AxolotlEntity.Variant
private final String
private final int
static final com.mojang.serialization.Codec
<AxolotlEntity.Variant> Deprecated.private static final IntFunction
<AxolotlEntity.Variant> private final boolean
static final PacketCodec
<ByteBuf, AxolotlEntity.Variant> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static AxolotlEntity.Variant
byIndex
(int index) getId()
int
getIndex()
private static AxolotlEntity.Variant
static AxolotlEntity.Variant
getRandomNatural
(Random random) static AxolotlEntity.Variant
getRandomUnnatural
(Random random) static AxolotlEntity.Variant
Returns the enum constant of this class with the specified name.static AxolotlEntity.Variant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LUCY
- Mappings:
Namespace Name Mixin selector named LUCY
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;LUCY:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_28341
Lnet/minecraft/class_5762$class_5767;field_28341:Lnet/minecraft/class_5762$class_5767;
official a
Lclk$e;a:Lclk$e;
-
WILD
- Mappings:
Namespace Name Mixin selector named WILD
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;WILD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_28342
Lnet/minecraft/class_5762$class_5767;field_28342:Lnet/minecraft/class_5762$class_5767;
official b
Lclk$e;b:Lclk$e;
-
GOLD
- Mappings:
Namespace Name Mixin selector named GOLD
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;GOLD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_28343
Lnet/minecraft/class_5762$class_5767;field_28343:Lnet/minecraft/class_5762$class_5767;
official c
Lclk$e;c:Lclk$e;
-
CYAN
- Mappings:
Namespace Name Mixin selector named CYAN
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;CYAN:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_28344
Lnet/minecraft/class_5762$class_5767;field_28344:Lnet/minecraft/class_5762$class_5767;
official d
Lclk$e;d:Lclk$e;
-
BLUE
- Mappings:
Namespace Name Mixin selector named BLUE
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;BLUE:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_28345
Lnet/minecraft/class_5762$class_5767;field_28345:Lnet/minecraft/class_5762$class_5767;
official e
Lclk$e;e:Lclk$e;
-
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;DEFAULT:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary field_57623
Lnet/minecraft/class_5762$class_5767;field_57623:Lnet/minecraft/class_5762$class_5767;
official f
Lclk$e;f:Lclk$e;
-
INDEX_MAPPER
- Mappings:
Namespace Name Mixin selector named INDEX_MAPPER
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;INDEX_MAPPER:Ljava/util/function/IntFunction;
intermediary field_28346
Lnet/minecraft/class_5762$class_5767;field_28346:Ljava/util/function/IntFunction;
official j
Lclk$e;j:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_55970
Lnet/minecraft/class_5762$class_5767;field_55970:Lnet/minecraft/class_9139;
official g
Lclk$e;g:Lze;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_41585
Lnet/minecraft/class_5762$class_5767;field_41585:Lcom/mojang/serialization/Codec;
official h
Lclk$e;h:Lcom/mojang/serialization/Codec;
-
INDEX_CODEC
Deprecated.- Mappings:
Namespace Name Mixin selector named INDEX_CODEC
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;INDEX_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56659
Lnet/minecraft/class_5762$class_5767;field_56659:Lcom/mojang/serialization/Codec;
official i
Lclk$e;i:Lcom/mojang/serialization/Codec;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;index:I
intermediary field_28347
Lnet/minecraft/class_5762$class_5767;field_28347:I
official k
Lclk$e;k:I
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;id:Ljava/lang/String;
intermediary field_28348
Lnet/minecraft/class_5762$class_5767;field_28348:Ljava/lang/String;
official l
Lclk$e;l:Ljava/lang/String;
-
natural
private final boolean natural- Mappings:
Namespace Name Mixin selector named natural
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;natural:Z
intermediary field_28349
Lnet/minecraft/class_5762$class_5767;field_28349:Z
official m
Lclk$e;m:Z
-
-
Constructor Details
-
Variant
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_5762$class_5767;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
official <init>
Lclk$e;<init>(Ljava/lang/String;IILjava/lang/String;Z)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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getIndex()I
intermediary method_33233
Lnet/minecraft/class_5762$class_5767;method_33233()I
official a
Lclk$e;a()I
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getId()Ljava/lang/String;
intermediary method_33238
Lnet/minecraft/class_5762$class_5767;method_33238()Ljava/lang/String;
official b
Lclk$e;b()Ljava/lang/String;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbax;c()Ljava/lang/String;
-
byIndex
- Mappings:
Namespace Name Mixin selector named byIndex
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;byIndex(I)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary method_47928
Lnet/minecraft/class_5762$class_5767;method_47928(I)Lnet/minecraft/class_5762$class_5767;
official a
Lclk$e;a(I)Lclk$e;
-
getRandomNatural
- Mappings:
Namespace Name Mixin selector named getRandomNatural
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomNatural(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary method_33235
Lnet/minecraft/class_5762$class_5767;method_33235(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5762$class_5767;
official a
Lclk$e;a(Lbai;)Lclk$e;
-
getRandomUnnatural
- Mappings:
Namespace Name Mixin selector named getRandomUnnatural
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomUnnatural(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary method_33240
Lnet/minecraft/class_5762$class_5767;method_33240(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5762$class_5767;
official b
Lclk$e;b(Lbai;)Lclk$e;
-
getRandom
- Mappings:
Namespace Name Mixin selector named getRandom
Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandom(Lnet/minecraft/util/math/random/Random;Z)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
intermediary method_33236
Lnet/minecraft/class_5762$class_5767;method_33236(Lnet/minecraft/class_5819;Z)Lnet/minecraft/class_5762$class_5767;
official a
Lclk$e;a(Lbai;Z)Lclk$e;
-