Enum Class LlamaEntity.Variant

java.lang.Object
java.lang.Enum<LlamaEntity.Variant>
net.minecraft.entity.passive.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$Variant
intermediary net/minecraft/class_1501$class_7993
official ckd$d
  • Enum Constant Details

    • CREAMY

      public static final LlamaEntity.Variant CREAMY
      Mappings:
      Namespace Name Mixin selector
      named CREAMY Lnet/minecraft/entity/passive/LlamaEntity$Variant;CREAMY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
      intermediary field_41586 Lnet/minecraft/class_1501$class_7993;field_41586:Lnet/minecraft/class_1501$class_7993;
      official a Lckd$d;a:Lckd$d;
    • WHITE

      public static final LlamaEntity.Variant WHITE
      Mappings:
      Namespace Name Mixin selector
      named WHITE Lnet/minecraft/entity/passive/LlamaEntity$Variant;WHITE:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
      intermediary field_41587 Lnet/minecraft/class_1501$class_7993;field_41587:Lnet/minecraft/class_1501$class_7993;
      official b Lckd$d;b:Lckd$d;
    • BROWN

      public static final LlamaEntity.Variant BROWN
      Mappings:
      Namespace Name Mixin selector
      named BROWN Lnet/minecraft/entity/passive/LlamaEntity$Variant;BROWN:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
      intermediary field_41588 Lnet/minecraft/class_1501$class_7993;field_41588:Lnet/minecraft/class_1501$class_7993;
      official c Lckd$d;c:Lckd$d;
    • GRAY

      public static final LlamaEntity.Variant GRAY
      Mappings:
      Namespace Name Mixin selector
      named GRAY Lnet/minecraft/entity/passive/LlamaEntity$Variant;GRAY:Lnet/minecraft/entity/passive/LlamaEntity$Variant;
      intermediary field_41589 Lnet/minecraft/class_1501$class_7993;field_41589:Lnet/minecraft/class_1501$class_7993;
      official d Lckd$d;d:Lckd$d;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<LlamaEntity.Variant> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/LlamaEntity$Variant;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_41590 Lnet/minecraft/class_1501$class_7993;field_41590:Lcom/mojang/serialization/Codec;
      official e Lckd$d;e:Lcom/mojang/serialization/Codec;
    • BY_ID

      private static final IntFunction<LlamaEntity.Variant> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/passive/LlamaEntity$Variant;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_41591 Lnet/minecraft/class_1501$class_7993;field_41591:Ljava/util/function/IntFunction;
      official f Lckd$d;f:Ljava/util/function/IntFunction;
    • id

      final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/LlamaEntity$Variant;id:I
      intermediary field_41592 Lnet/minecraft/class_1501$class_7993;field_41592:I
      official g Lckd$d;g:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/LlamaEntity$Variant;name:Ljava/lang/String;
      intermediary field_41593 Lnet/minecraft/class_1501$class_7993;field_41593:Ljava/lang/String;
      official h Lckd$d;h:Ljava/lang/String;
  • Constructor Details

    • Variant

      private Variant(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/LlamaEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1501$class_7993;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lckd$d;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static LlamaEntity.Variant[] 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

      public static LlamaEntity.Variant valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/entity/passive/LlamaEntity$Variant;getIndex()I
      intermediary method_47875 Lnet/minecraft/class_1501$class_7993;method_47875()I
      official a Lckd$d;a()I
    • byId

      public static LlamaEntity.Variant byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/entity/passive/LlamaEntity$Variant;byId(I)Lnet/minecraft/entity/passive/LlamaEntity$Variant;
      intermediary method_47876 Lnet/minecraft/class_1501$class_7993;method_47876(I)Lnet/minecraft/class_1501$class_7993;
      official a Lckd$d;a(I)Lckd$d;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      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 Lbba;c()Ljava/lang/String;