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 official bro$dintermediary net/minecraft/class_1501$class_7993named net/minecraft/entity/passive/LlamaEntity$Variant
-
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.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<LlamaEntity.Variant>(package private) final intprivate final Stringprivate static final LlamaEntity.Variant[]Fields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
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 official aLbro$d;a:Lbro$d;intermediary field_41586Lnet/minecraft/class_1501$class_7993;field_41586:Lnet/minecraft/class_1501$class_7993;named CREAMYLnet/minecraft/entity/passive/LlamaEntity$Variant;CREAMY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
WHITE
- Mappings:
Namespace Name Mixin selector official bLbro$d;b:Lbro$d;intermediary field_41587Lnet/minecraft/class_1501$class_7993;field_41587:Lnet/minecraft/class_1501$class_7993;named WHITELnet/minecraft/entity/passive/LlamaEntity$Variant;WHITE:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
BROWN
- Mappings:
Namespace Name Mixin selector official cLbro$d;c:Lbro$d;intermediary field_41588Lnet/minecraft/class_1501$class_7993;field_41588:Lnet/minecraft/class_1501$class_7993;named BROWNLnet/minecraft/entity/passive/LlamaEntity$Variant;BROWN:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
GRAY
- Mappings:
Namespace Name Mixin selector official dLbro$d;d:Lbro$d;intermediary field_41589Lnet/minecraft/class_1501$class_7993;field_41589:Lnet/minecraft/class_1501$class_7993;named GRAYLnet/minecraft/entity/passive/LlamaEntity$Variant;GRAY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLbro$d;e:Lcom/mojang/serialization/Codec;intermediary field_41590Lnet/minecraft/class_1501$class_7993;field_41590:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/entity/passive/LlamaEntity$Variant;CODEC:Lcom/mojang/serialization/Codec;
-
VALUES
- Mappings:
Namespace Name Mixin selector official fLbro$d;f:[Lbro$d;intermediary field_41591Lnet/minecraft/class_1501$class_7993;field_41591:[Lnet/minecraft/class_1501$class_7993;named VALUESLnet/minecraft/entity/passive/LlamaEntity$Variant;VALUES:[Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
index
final int index- Mappings:
Namespace Name Mixin selector official gLbro$d;g:Iintermediary field_41592Lnet/minecraft/class_1501$class_7993;field_41592:Inamed indexLnet/minecraft/entity/passive/LlamaEntity$Variant;index:I
-
name
- Mappings:
Namespace Name Mixin selector official hLbro$d;h:Ljava/lang/String;intermediary field_41593Lnet/minecraft/class_1501$class_7993;field_41593:Ljava/lang/String;named nameLnet/minecraft/entity/passive/LlamaEntity$Variant;name:Ljava/lang/String;
-
-
Constructor Details
-
Variant
- Mappings:
Namespace Name Mixin selector official <init>Lbro$d;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1501$class_7993;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/entity/passive/LlamaEntity$Variant;<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 official aLbro$d;a()Iintermediary method_47875Lnet/minecraft/class_1501$class_7993;method_47875()Inamed getIndexLnet/minecraft/entity/passive/LlamaEntity$Variant;getIndex()I
-
byIndex
- Mappings:
Namespace Name Mixin selector official aLbro$d;a(I)Lbro$d;intermediary method_47876Lnet/minecraft/class_1501$class_7993;method_47876(I)Lnet/minecraft/class_1501$class_7993;named byIndexLnet/minecraft/entity/passive/LlamaEntity$Variant;byIndex(I)Lnet/minecraft/entity/passive/LlamaEntity$Variant;
-
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 official cLaor;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-