Enum Class AxolotlEntity.Variant

java.lang.Object
java.lang.Enum<AxolotlEntity.Variant>
net.minecraft.entity.passive.AxolotlEntity.Variant
All Implemented Interfaces:
Serializable, Comparable<AxolotlEntity.Variant>, Constable
Enclosing class:
AxolotlEntity

public static enum AxolotlEntity.Variant extends Enum<AxolotlEntity.Variant>
Mappings:
Namespace Name
official bez$e
intermediary net/minecraft/class_5762$class_5767
named net/minecraft/entity/passive/AxolotlEntity$Variant
  • Enum Constant Details

    • LUCY

      public static final AxolotlEntity.Variant LUCY
      Mappings:
      Namespace Name Mixin selector
      official a Lbez$e;a:Lbez$e;
      intermediary field_28341 Lnet/minecraft/class_5762$class_5767;field_28341:Lnet/minecraft/class_5762$class_5767;
      named LUCY Lnet/minecraft/entity/passive/AxolotlEntity$Variant;LUCY:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • WILD

      public static final AxolotlEntity.Variant WILD
      Mappings:
      Namespace Name Mixin selector
      official b Lbez$e;b:Lbez$e;
      intermediary field_28342 Lnet/minecraft/class_5762$class_5767;field_28342:Lnet/minecraft/class_5762$class_5767;
      named WILD Lnet/minecraft/entity/passive/AxolotlEntity$Variant;WILD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • GOLD

      public static final AxolotlEntity.Variant GOLD
      Mappings:
      Namespace Name Mixin selector
      official c Lbez$e;c:Lbez$e;
      intermediary field_28343 Lnet/minecraft/class_5762$class_5767;field_28343:Lnet/minecraft/class_5762$class_5767;
      named GOLD Lnet/minecraft/entity/passive/AxolotlEntity$Variant;GOLD:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • CYAN

      public static final AxolotlEntity.Variant CYAN
      Mappings:
      Namespace Name Mixin selector
      official d Lbez$e;d:Lbez$e;
      intermediary field_28344 Lnet/minecraft/class_5762$class_5767;field_28344:Lnet/minecraft/class_5762$class_5767;
      named CYAN Lnet/minecraft/entity/passive/AxolotlEntity$Variant;CYAN:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • BLUE

      public static final AxolotlEntity.Variant BLUE
      Mappings:
      Namespace Name Mixin selector
      official e Lbez$e;e:Lbez$e;
      intermediary field_28345 Lnet/minecraft/class_5762$class_5767;field_28345:Lnet/minecraft/class_5762$class_5767;
      named BLUE Lnet/minecraft/entity/passive/AxolotlEntity$Variant;BLUE:Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
  • Field Details

    • VARIANTS

      public static final AxolotlEntity.Variant[] VARIANTS
      Mappings:
      Namespace Name Mixin selector
      official f Lbez$e;f:[Lbez$e;
      intermediary field_28346 Lnet/minecraft/class_5762$class_5767;field_28346:[Lnet/minecraft/class_5762$class_5767;
      named VARIANTS Lnet/minecraft/entity/passive/AxolotlEntity$Variant;VARIANTS:[Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official g Lbez$e;g:I
      intermediary field_28347 Lnet/minecraft/class_5762$class_5767;field_28347:I
      named id Lnet/minecraft/entity/passive/AxolotlEntity$Variant;id:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official h Lbez$e;h:Ljava/lang/String;
      intermediary field_28348 Lnet/minecraft/class_5762$class_5767;field_28348:Ljava/lang/String;
      named name Lnet/minecraft/entity/passive/AxolotlEntity$Variant;name:Ljava/lang/String;
    • natural

      private final boolean natural
      Mappings:
      Namespace Name Mixin selector
      official i Lbez$e;i:Z
      intermediary field_28349 Lnet/minecraft/class_5762$class_5767;field_28349:Z
      named natural Lnet/minecraft/entity/passive/AxolotlEntity$Variant;natural:Z
  • Constructor Details

    • Variant

      private Variant(int id, String name, boolean natural)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbez$e;<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
      named <init> Lnet/minecraft/entity/passive/AxolotlEntity$Variant;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
  • Method Details

    • values

      public static AxolotlEntity.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 AxolotlEntity.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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lbez$e;a()I
      intermediary method_33233 Lnet/minecraft/class_5762$class_5767;method_33233()I
      named getId Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getId()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbez$e;b()Ljava/lang/String;
      intermediary method_33238 Lnet/minecraft/class_5762$class_5767;method_33238()Ljava/lang/String;
      named getName Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getName()Ljava/lang/String;
    • getRandomAll

      public static AxolotlEntity.Variant getRandomAll(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbez$e;a(Ljava/util/Random;)Lbez$e;
      intermediary method_33235 Lnet/minecraft/class_5762$class_5767;method_33235(Ljava/util/Random;)Lnet/minecraft/class_5762$class_5767;
      named getRandomAll Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomAll(Ljava/util/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • getRandomNatural

      public static AxolotlEntity.Variant getRandomNatural(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Lbez$e;b(Ljava/util/Random;)Lbez$e;
      intermediary method_33240 Lnet/minecraft/class_5762$class_5767;method_33240(Ljava/util/Random;)Lnet/minecraft/class_5762$class_5767;
      named getRandomNatural Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandomNatural(Ljava/util/Random;)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;
    • getRandom

      private static AxolotlEntity.Variant getRandom(Random random, boolean includeUnnatural)
      Mappings:
      Namespace Name Mixin selector
      official a Lbez$e;a(Ljava/util/Random;Z)Lbez$e;
      intermediary method_33236 Lnet/minecraft/class_5762$class_5767;method_33236(Ljava/util/Random;Z)Lnet/minecraft/class_5762$class_5767;
      named getRandom Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getRandom(Ljava/util/Random;Z)Lnet/minecraft/entity/passive/AxolotlEntity$Variant;