Package net.minecraft.entity.passive
Enum Class PandaEntity.Gene
- All Implemented Interfaces:
 Serializable,Comparable<PandaEntity.Gene>,Constable,StringIdentifiable
- Enclosing class:
 PandaEntity
- Mappings:
 Namespace Name named net/minecraft/entity/passive/PandaEntity$Geneintermediary net/minecraft/class_1440$class_1443official cmy$a
- 
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> - 
Enum Constant Summary
Enum Constants - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IntFunction<PandaEntity.Gene> static final com.mojang.serialization.Codec<PandaEntity.Gene> private static final intprivate final intprivate final Stringprivate final booleanFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static PandaEntity.GenebyId(int id) static PandaEntity.GenecreateRandom(Random random) intgetId()(package private) static PandaEntity.GenegetProductGene(PandaEntity.Gene mainGene, PandaEntity.Gene hiddenGene) booleanstatic PandaEntity.GeneReturns the enum constant of this class with the specified name.static PandaEntity.Gene[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
NORMAL
- Mappings:
 Namespace Name Mixin selector named NORMALLnet/minecraft/entity/passive/PandaEntity$Gene;NORMAL:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6788Lnet/minecraft/class_1440$class_1443;field_6788:Lnet/minecraft/class_1440$class_1443;official aLcmy$a;a:Lcmy$a;
 - 
LAZY
- Mappings:
 Namespace Name Mixin selector named LAZYLnet/minecraft/entity/passive/PandaEntity$Gene;LAZY:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6794Lnet/minecraft/class_1440$class_1443;field_6794:Lnet/minecraft/class_1440$class_1443;official bLcmy$a;b:Lcmy$a;
 - 
WORRIED
- Mappings:
 Namespace Name Mixin selector named WORRIEDLnet/minecraft/entity/passive/PandaEntity$Gene;WORRIED:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6795Lnet/minecraft/class_1440$class_1443;field_6795:Lnet/minecraft/class_1440$class_1443;official cLcmy$a;c:Lcmy$a;
 - 
PLAYFUL
- Mappings:
 Namespace Name Mixin selector named PLAYFULLnet/minecraft/entity/passive/PandaEntity$Gene;PLAYFUL:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6791Lnet/minecraft/class_1440$class_1443;field_6791:Lnet/minecraft/class_1440$class_1443;official dLcmy$a;d:Lcmy$a;
 - 
BROWN
- Mappings:
 Namespace Name Mixin selector named BROWNLnet/minecraft/entity/passive/PandaEntity$Gene;BROWN:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6792Lnet/minecraft/class_1440$class_1443;field_6792:Lnet/minecraft/class_1440$class_1443;official eLcmy$a;e:Lcmy$a;
 - 
WEAK
- Mappings:
 Namespace Name Mixin selector named WEAKLnet/minecraft/entity/passive/PandaEntity$Gene;WEAK:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6793Lnet/minecraft/class_1440$class_1443;field_6793:Lnet/minecraft/class_1440$class_1443;official fLcmy$a;f:Lcmy$a;
 - 
AGGRESSIVE
- Mappings:
 Namespace Name Mixin selector named AGGRESSIVELnet/minecraft/entity/passive/PandaEntity$Gene;AGGRESSIVE:Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary field_6789Lnet/minecraft/class_1440$class_1443;field_6789:Lnet/minecraft/class_1440$class_1443;official gLcmy$a;g:Lcmy$a;
 
 - 
 - 
Field Details
- 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/entity/passive/PandaEntity$Gene;CODEC:Lcom/mojang/serialization/Codec;intermediary field_41673Lnet/minecraft/class_1440$class_1443;field_41673:Lcom/mojang/serialization/Codec;official hLcmy$a;h:Lcom/mojang/serialization/Codec;
 - 
BY_ID
- Mappings:
 Namespace Name Mixin selector named BY_IDLnet/minecraft/entity/passive/PandaEntity$Gene;BY_ID:Ljava/util/function/IntFunction;intermediary field_6786Lnet/minecraft/class_1440$class_1443;field_6786:Ljava/util/function/IntFunction;official iLcmy$a;i:Ljava/util/function/IntFunction;
 - 
field_30350
private static final int field_30350- See Also:
 - Mappings:
 Namespace Name Mixin selector named field_30350Lnet/minecraft/entity/passive/PandaEntity$Gene;field_30350:Iintermediary field_30350Lnet/minecraft/class_1440$class_1443;field_30350:Iofficial jLcmy$a;j:I
 - 
id
private final int id- Mappings:
 Namespace Name Mixin selector named idLnet/minecraft/entity/passive/PandaEntity$Gene;id:Iintermediary field_6785Lnet/minecraft/class_1440$class_1443;field_6785:Iofficial kLcmy$a;k:I
 - 
name
- Mappings:
 Namespace Name Mixin selector named nameLnet/minecraft/entity/passive/PandaEntity$Gene;name:Ljava/lang/String;intermediary field_6797Lnet/minecraft/class_1440$class_1443;field_6797:Ljava/lang/String;official lLcmy$a;l:Ljava/lang/String;
 - 
recessive
private final boolean recessive- Mappings:
 Namespace Name Mixin selector named recessiveLnet/minecraft/entity/passive/PandaEntity$Gene;recessive:Zintermediary field_6790Lnet/minecraft/class_1440$class_1443;field_6790:Zofficial mLcmy$a;m:Z
 
 - 
 - 
Constructor Details
- 
Gene
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/PandaEntity$Gene;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_1440$class_1443;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vofficial <init>Lcmy$a;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
 
 - 
 - 
Method Details
- 
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
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 nameNullPointerException- if the argument is null
 - 
getId
public int getId()- Mappings:
 Namespace Name Mixin selector named getIdLnet/minecraft/entity/passive/PandaEntity$Gene;getId()Iintermediary method_6564Lnet/minecraft/class_1440$class_1443;method_6564()Iofficial aLcmy$a;a()I
 - 
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
 asStringin interfaceStringIdentifiable- Returns:
 - the unique string representation of the enum, used for serialization
 - Mappings:
 Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbda;c()Ljava/lang/String;
 - 
isRecessive
public boolean isRecessive()- Mappings:
 Namespace Name Mixin selector named isRecessiveLnet/minecraft/entity/passive/PandaEntity$Gene;isRecessive()Zintermediary method_6568Lnet/minecraft/class_1440$class_1443;method_6568()Zofficial bLcmy$a;b()Z
 - 
getProductGene
- Mappings:
 Namespace Name Mixin selector named getProductGeneLnet/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_6569Lnet/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 aLcmy$a;a(Lcmy$a;Lcmy$a;)Lcmy$a;
 - 
byId
- Mappings:
 Namespace Name Mixin selector named byIdLnet/minecraft/entity/passive/PandaEntity$Gene;byId(I)Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary method_6566Lnet/minecraft/class_1440$class_1443;method_6566(I)Lnet/minecraft/class_1440$class_1443;official aLcmy$a;a(I)Lcmy$a;
 - 
createRandom
- Mappings:
 Namespace Name Mixin selector named createRandomLnet/minecraft/entity/passive/PandaEntity$Gene;createRandom(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/entity/passive/PandaEntity$Gene;intermediary method_17688Lnet/minecraft/class_1440$class_1443;method_17688(Lnet/minecraft/class_5819;)Lnet/minecraft/class_1440$class_1443;official aLcmy$a;a(Lbck;)Lcmy$a;
 
 -