Enum PandaEntity.Gene

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

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

    • NORMAL

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

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

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

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

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

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

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

    • VALUES

      private static final PandaEntity.Gene[] VALUES
      Mappings:
      Namespace Name Mixin selector
      official h Lbbw$a;h:[Lbbw$a;
      intermediary field_6786 Lnet/minecraft/class_1440$class_1443;field_6786:[Lnet/minecraft/class_1440$class_1443;
      named VALUES Lnet/minecraft/entity/passive/PandaEntity$Gene;VALUES:[Lnet/minecraft/entity/passive/PandaEntity$Gene;
    • id

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

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

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

    • Gene

      private Gene​(int id, String name, boolean recessive)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbw$a;<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
      named <init> Lnet/minecraft/entity/passive/PandaEntity$Gene;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
  • Method Details

    • values

      public static PandaEntity.Gene[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PandaEntity.Gene valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Lbbw$a;b()Ljava/lang/String;
      intermediary method_6565 Lnet/minecraft/class_1440$class_1443;method_6565()Ljava/lang/String;
      named getName Lnet/minecraft/entity/passive/PandaEntity$Gene;getName()Ljava/lang/String;
    • isRecessive

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

      private static PandaEntity.Gene getProductGene​(PandaEntity.Gene mainGene, PandaEntity.Gene hiddenGene)
      Mappings:
      Namespace Name Mixin selector
      official b Lbbw$a;b(Lbbw$a;Lbbw$a;)Lbbw$a;
      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;
      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;
    • byId

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

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

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