Enum Class PandaEntity.Gene

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

public static enum PandaEntity.Gene extends Enum<PandaEntity.Gene> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/PandaEntity$Gene
intermediary net/minecraft/class_1440$class_1443
official cft$a
  • Enum Constant Details Link icon

    • NORMAL Link icon

      public static final PandaEntity.Gene NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/entity/passive/PandaEntity$Gene;NORMAL:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6788 Lnet/minecraft/class_1440$class_1443;field_6788:Lnet/minecraft/class_1440$class_1443;
      official a Lcft$a;a:Lcft$a;
    • LAZY Link icon

      public static final PandaEntity.Gene LAZY
      Mappings:
      Namespace Name Mixin selector
      named LAZY Lnet/minecraft/entity/passive/PandaEntity$Gene;LAZY:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6794 Lnet/minecraft/class_1440$class_1443;field_6794:Lnet/minecraft/class_1440$class_1443;
      official b Lcft$a;b:Lcft$a;
    • WORRIED Link icon

      public static final PandaEntity.Gene WORRIED
      Mappings:
      Namespace Name Mixin selector
      named WORRIED Lnet/minecraft/entity/passive/PandaEntity$Gene;WORRIED:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6795 Lnet/minecraft/class_1440$class_1443;field_6795:Lnet/minecraft/class_1440$class_1443;
      official c Lcft$a;c:Lcft$a;
    • PLAYFUL Link icon

      public static final PandaEntity.Gene PLAYFUL
      Mappings:
      Namespace Name Mixin selector
      named PLAYFUL Lnet/minecraft/entity/passive/PandaEntity$Gene;PLAYFUL:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6791 Lnet/minecraft/class_1440$class_1443;field_6791:Lnet/minecraft/class_1440$class_1443;
      official d Lcft$a;d:Lcft$a;
    • BROWN Link icon

      public static final PandaEntity.Gene BROWN
      Mappings:
      Namespace Name Mixin selector
      named BROWN Lnet/minecraft/entity/passive/PandaEntity$Gene;BROWN:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6792 Lnet/minecraft/class_1440$class_1443;field_6792:Lnet/minecraft/class_1440$class_1443;
      official e Lcft$a;e:Lcft$a;
    • WEAK Link icon

      public static final PandaEntity.Gene WEAK
      Mappings:
      Namespace Name Mixin selector
      named WEAK Lnet/minecraft/entity/passive/PandaEntity$Gene;WEAK:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6793 Lnet/minecraft/class_1440$class_1443;field_6793:Lnet/minecraft/class_1440$class_1443;
      official f Lcft$a;f:Lcft$a;
    • AGGRESSIVE Link icon

      public static final PandaEntity.Gene AGGRESSIVE
      Mappings:
      Namespace Name Mixin selector
      named AGGRESSIVE Lnet/minecraft/entity/passive/PandaEntity$Gene;AGGRESSIVE:Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary field_6789 Lnet/minecraft/class_1440$class_1443;field_6789:Lnet/minecraft/class_1440$class_1443;
      official g Lcft$a;g:Lcft$a;
  • Field Details Link icon

    • CODEC Link icon

      public static final StringIdentifiable.EnumCodec<PandaEntity.Gene> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/PandaEntity$Gene;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_41673 Lnet/minecraft/class_1440$class_1443;field_41673:Lnet/minecraft/class_3542$class_7292;
      official h Lcft$a;h:Lazk$a;
    • BY_ID Link icon

      private static final IntFunction<PandaEntity.Gene> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/passive/PandaEntity$Gene;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_6786 Lnet/minecraft/class_1440$class_1443;field_6786:Ljava/util/function/IntFunction;
      official i Lcft$a;i:Ljava/util/function/IntFunction;
    • field_30350 Link icon

      private static final int field_30350
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30350 Lnet/minecraft/entity/passive/PandaEntity$Gene;field_30350:I
      intermediary field_30350 Lnet/minecraft/class_1440$class_1443;field_30350:I
      official j Lcft$a;j:I
    • id Link icon

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/PandaEntity$Gene;id:I
      intermediary field_6785 Lnet/minecraft/class_1440$class_1443;field_6785:I
      official k Lcft$a;k:I
    • name Link icon

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/PandaEntity$Gene;name:Ljava/lang/String;
      intermediary field_6797 Lnet/minecraft/class_1440$class_1443;field_6797:Ljava/lang/String;
      official l Lcft$a;l:Ljava/lang/String;
    • recessive Link icon

      private final boolean recessive
      Mappings:
      Namespace Name Mixin selector
      named recessive Lnet/minecraft/entity/passive/PandaEntity$Gene;recessive:Z
      intermediary field_6790 Lnet/minecraft/class_1440$class_1443;field_6790:Z
      official m Lcft$a;m:Z
  • Constructor Details Link icon

    • Gene Link icon

      private Gene(int id, String name, boolean recessive)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/PandaEntity$Gene;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_1440$class_1443;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
      official <init> Lcft$a;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
  • Method Details Link icon

    • values Link icon

      public static PandaEntity.Gene[] 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 Link icon

      public static PandaEntity.Gene 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 Link icon

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/entity/passive/PandaEntity$Gene;getId()I
      intermediary method_6564 Lnet/minecraft/class_1440$class_1443;method_6564()I
      official a Lcft$a;a()I
    • asString Link icon

      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 Lazk;c()Ljava/lang/String;
    • isRecessive Link icon

      public boolean isRecessive()
      Mappings:
      Namespace Name Mixin selector
      named isRecessive Lnet/minecraft/entity/passive/PandaEntity$Gene;isRecessive()Z
      intermediary method_6568 Lnet/minecraft/class_1440$class_1443;method_6568()Z
      official b Lcft$a;b()Z
    • getProductGene Link icon

      static PandaEntity.Gene getProductGene(PandaEntity.Gene mainGene, PandaEntity.Gene hiddenGene)
      Mappings:
      Namespace Name Mixin selector
      named getProductGene Lnet/minecraft/entity/passive/PandaEntity$Gene;getProductGene(Lnet/minecraft/entity/passive/PandaEntity$Gene;Lnet/minecraft/entity/passive/PandaEntity$Gene;)Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary method_6569 Lnet/minecraft/class_1440$class_1443;method_6569(Lnet/minecraft/class_1440$class_1443;Lnet/minecraft/class_1440$class_1443;)Lnet/minecraft/class_1440$class_1443;
      official a Lcft$a;a(Lcft$a;Lcft$a;)Lcft$a;
    • byId Link icon

      public static PandaEntity.Gene byId(int id)
      Mappings:
      Namespace Name Mixin selector
      named byId Lnet/minecraft/entity/passive/PandaEntity$Gene;byId(I)Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary method_6566 Lnet/minecraft/class_1440$class_1443;method_6566(I)Lnet/minecraft/class_1440$class_1443;
      official a Lcft$a;a(I)Lcft$a;
    • byName Link icon

      public static PandaEntity.Gene byName(String name)
      Mappings:
      Namespace Name Mixin selector
      named byName Lnet/minecraft/entity/passive/PandaEntity$Gene;byName(Ljava/lang/String;)Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary method_6567 Lnet/minecraft/class_1440$class_1443;method_6567(Ljava/lang/String;)Lnet/minecraft/class_1440$class_1443;
      official a Lcft$a;a(Ljava/lang/String;)Lcft$a;
    • createRandom Link icon

      public static PandaEntity.Gene createRandom(Random random)
      Mappings:
      Namespace Name Mixin selector
      named createRandom Lnet/minecraft/entity/passive/PandaEntity$Gene;createRandom(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/entity/passive/PandaEntity$Gene;
      intermediary method_17688 Lnet/minecraft/class_1440$class_1443;method_17688(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1440$class_1443;
      official a Lcft$a;a(Layw;)Lcft$a;