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, 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 cge$d
  • Enum Constant Details

    • LUCY

      public static final AxolotlEntity.Variant 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 Lcge$d;a:Lcge$d;
    • WILD

      public static final AxolotlEntity.Variant 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 Lcge$d;b:Lcge$d;
    • GOLD

      public static final AxolotlEntity.Variant 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 Lcge$d;c:Lcge$d;
    • CYAN

      public static final AxolotlEntity.Variant 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 Lcge$d;d:Lcge$d;
    • BLUE

      public static final AxolotlEntity.Variant 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 Lcge$d;e:Lcge$d;
  • Field Details

    • BY_ID

      private static final IntFunction<AxolotlEntity.Variant> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/passive/AxolotlEntity$Variant;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_28346 Lnet/minecraft/class_5762$class_5767;field_28346:Ljava/util/function/IntFunction;
      official g Lcge$d;g:Ljava/util/function/IntFunction;
    • CODEC

      public static final com.mojang.serialization.Codec<AxolotlEntity.Variant> 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 f Lcge$d;f:Lcom/mojang/serialization/Codec;
    • id

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

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/AxolotlEntity$Variant;name:Ljava/lang/String;
      intermediary field_28348 Lnet/minecraft/class_5762$class_5767;field_28348:Ljava/lang/String;
      official i Lcge$d;i: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 j Lcge$d;j:Z
  • Constructor Details

    • Variant

      private Variant(int id, String name, boolean natural)
      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> Lcge$d;<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
      named getId Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getId()I
      intermediary method_33233 Lnet/minecraft/class_5762$class_5767;method_33233()I
      official a Lcge$d;a()I
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/passive/AxolotlEntity$Variant;getName()Ljava/lang/String;
      intermediary method_33238 Lnet/minecraft/class_5762$class_5767;method_33238()Ljava/lang/String;
      official b Lcge$d;b()Ljava/lang/String;
    • 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 Lazc;c()Ljava/lang/String;
    • byId

      public static AxolotlEntity.Variant byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/entity/passive/AxolotlEntity$Variant;byId(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 Lcge$d;a(I)Lcge$d;
    • getRandomNatural

      public static AxolotlEntity.Variant getRandomNatural(Random random)
      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 Lcge$d;a(Layo;)Lcge$d;
    • getRandomUnnatural

      public static AxolotlEntity.Variant getRandomUnnatural(Random random)
      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 Lcge$d;b(Layo;)Lcge$d;
    • getRandom

      private static AxolotlEntity.Variant getRandom(Random random, boolean natural)
      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 Lcge$d;a(Layo;Z)Lcge$d;