Package net.minecraft.entity.passive
Enum Class LlamaEntity.Variant
- All Implemented Interfaces:
 Serializable,Comparable<LlamaEntity.Variant>,Constable,StringIdentifiable
- Enclosing class:
 LlamaEntity
public static enum LlamaEntity.Variant
extends Enum<LlamaEntity.Variant>
implements StringIdentifiable
- Mappings:
 Namespace Name named net/minecraft/entity/passive/LlamaEntity$Variantintermediary net/minecraft/class_1501$class_7993official cot$d
- 
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<LlamaEntity.Variant> static final LlamaEntity.Variantprivate final String(package private) final intstatic final com.mojang.serialization.Codec<LlamaEntity.Variant> Deprecated.private static final IntFunction<LlamaEntity.Variant> static final PacketCodec<ByteBuf, LlamaEntity.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 LlamaEntity.VariantbyIndex(int index) intgetIndex()static LlamaEntity.VariantReturns the enum constant of this class with the specified name.static LlamaEntity.Variant[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
CREAMY
- Mappings:
 Namespace Name Mixin selector named CREAMYLnet/minecraft/entity/passive/LlamaEntity$Variant;CREAMY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary field_41586Lnet/minecraft/class_1501$class_7993;field_41586:Lnet/minecraft/class_1501$class_7993;official aLcot$d;a:Lcot$d;
 - 
WHITE
- Mappings:
 Namespace Name Mixin selector named WHITELnet/minecraft/entity/passive/LlamaEntity$Variant;WHITE:Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary field_41587Lnet/minecraft/class_1501$class_7993;field_41587:Lnet/minecraft/class_1501$class_7993;official bLcot$d;b:Lcot$d;
 - 
BROWN
- Mappings:
 Namespace Name Mixin selector named BROWNLnet/minecraft/entity/passive/LlamaEntity$Variant;BROWN:Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary field_41588Lnet/minecraft/class_1501$class_7993;field_41588:Lnet/minecraft/class_1501$class_7993;official cLcot$d;c:Lcot$d;
 - 
GRAY
- Mappings:
 Namespace Name Mixin selector named GRAYLnet/minecraft/entity/passive/LlamaEntity$Variant;GRAY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary field_41589Lnet/minecraft/class_1501$class_7993;field_41589:Lnet/minecraft/class_1501$class_7993;official dLcot$d;d:Lcot$d;
 
 - 
 - 
Field Details
- 
DEFAULT
- Mappings:
 Namespace Name Mixin selector named DEFAULTLnet/minecraft/entity/passive/LlamaEntity$Variant;DEFAULT:Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary field_57635Lnet/minecraft/class_1501$class_7993;field_57635:Lnet/minecraft/class_1501$class_7993;official eLcot$d;e:Lcot$d;
 - 
INDEX_MAPPER
- Mappings:
 Namespace Name Mixin selector named INDEX_MAPPERLnet/minecraft/entity/passive/LlamaEntity$Variant;INDEX_MAPPER:Ljava/util/function/IntFunction;intermediary field_41591Lnet/minecraft/class_1501$class_7993;field_41591:Ljava/util/function/IntFunction;official iLcot$d;i:Ljava/util/function/IntFunction;
 - 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/entity/passive/LlamaEntity$Variant;CODEC:Lcom/mojang/serialization/Codec;intermediary field_41590Lnet/minecraft/class_1501$class_7993;field_41590:Lcom/mojang/serialization/Codec;official fLcot$d;f:Lcom/mojang/serialization/Codec;
 - 
INDEX_CODEC
Deprecated.- Mappings:
 Namespace Name Mixin selector named INDEX_CODECLnet/minecraft/entity/passive/LlamaEntity$Variant;INDEX_CODEC:Lcom/mojang/serialization/Codec;intermediary field_56660Lnet/minecraft/class_1501$class_7993;field_56660:Lcom/mojang/serialization/Codec;official gLcot$d;g:Lcom/mojang/serialization/Codec;
 - 
PACKET_CODEC
- Mappings:
 Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/passive/LlamaEntity$Variant;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_55971Lnet/minecraft/class_1501$class_7993;field_55971:Lnet/minecraft/class_9139;official hLcot$d;h:Lzm;
 - 
index
final int index- Mappings:
 Namespace Name Mixin selector named indexLnet/minecraft/entity/passive/LlamaEntity$Variant;index:Iintermediary field_41592Lnet/minecraft/class_1501$class_7993;field_41592:Iofficial jLcot$d;j:I
 - 
id
- Mappings:
 Namespace Name Mixin selector named idLnet/minecraft/entity/passive/LlamaEntity$Variant;id:Ljava/lang/String;intermediary field_41593Lnet/minecraft/class_1501$class_7993;field_41593:Ljava/lang/String;official kLcot$d;k:Ljava/lang/String;
 
 - 
 - 
Constructor Details
- 
Variant
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/LlamaEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1501$class_7993;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lcot$d;<init>(Ljava/lang/String;IILjava/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
 - 
getIndex
public int getIndex()- Mappings:
 Namespace Name Mixin selector named getIndexLnet/minecraft/entity/passive/LlamaEntity$Variant;getIndex()Iintermediary method_47875Lnet/minecraft/class_1501$class_7993;method_47875()Iofficial aLcot$d;a()I
 - 
byIndex
- Mappings:
 Namespace Name Mixin selector named byIndexLnet/minecraft/entity/passive/LlamaEntity$Variant;byIndex(I)Lnet/minecraft/entity/passive/LlamaEntity$Variant;intermediary method_47876Lnet/minecraft/class_1501$class_7993;method_47876(I)Lnet/minecraft/class_1501$class_7993;official aLcot$d;a(I)Lcot$d;
 - 
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
 asStringin interfaceStringIdentifiable- Returns:
 - the unique string representation of the enum, used for serialization
 - Mappings:
 Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbda;c()Ljava/lang/String;
 
 -