Package net.minecraft.entity.passive
Enum PandaEntity.Gene
- All Implemented Interfaces:
Serializable,Comparable<PandaEntity.Gene>,java.lang.constant.Constable
- Enclosing class:
- PandaEntity
- Mappings:
Namespace Name official bds$aintermediary net/minecraft/class_1440$class_1443named net/minecraft/entity/passive/PandaEntity$Gene
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intprivate intprivate Stringprivate booleanprivate static PandaEntity.Gene[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PandaEntity.GenebyId(int id)static PandaEntity.Genestatic PandaEntity.GenecreateRandom(Random random)intgetId()getName()private static PandaEntity.GenegetProductGene(PandaEntity.Gene mainGene, PandaEntity.Gene hiddenGene)booleanstatic PandaEntity.GeneReturns the enum constant of this type with the specified name.static PandaEntity.Gene[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector official aLbds$a;a:Lbds$a;intermediary field_6788Lnet/minecraft/class_1440$class_1443;field_6788:Lnet/minecraft/class_1440$class_1443;named NORMALLnet/minecraft/entity/passive/PandaEntity$Gene;NORMAL:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
LAZY
- Mappings:
Namespace Name Mixin selector official bLbds$a;b:Lbds$a;intermediary field_6794Lnet/minecraft/class_1440$class_1443;field_6794:Lnet/minecraft/class_1440$class_1443;named LAZYLnet/minecraft/entity/passive/PandaEntity$Gene;LAZY:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
WORRIED
- Mappings:
Namespace Name Mixin selector official cLbds$a;c:Lbds$a;intermediary field_6795Lnet/minecraft/class_1440$class_1443;field_6795:Lnet/minecraft/class_1440$class_1443;named WORRIEDLnet/minecraft/entity/passive/PandaEntity$Gene;WORRIED:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
PLAYFUL
- Mappings:
Namespace Name Mixin selector official dLbds$a;d:Lbds$a;intermediary field_6791Lnet/minecraft/class_1440$class_1443;field_6791:Lnet/minecraft/class_1440$class_1443;named PLAYFULLnet/minecraft/entity/passive/PandaEntity$Gene;PLAYFUL:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
BROWN
- Mappings:
Namespace Name Mixin selector official eLbds$a;e:Lbds$a;intermediary field_6792Lnet/minecraft/class_1440$class_1443;field_6792:Lnet/minecraft/class_1440$class_1443;named BROWNLnet/minecraft/entity/passive/PandaEntity$Gene;BROWN:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
WEAK
- Mappings:
Namespace Name Mixin selector official fLbds$a;f:Lbds$a;intermediary field_6793Lnet/minecraft/class_1440$class_1443;field_6793:Lnet/minecraft/class_1440$class_1443;named WEAKLnet/minecraft/entity/passive/PandaEntity$Gene;WEAK:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
AGGRESSIVE
- Mappings:
Namespace Name Mixin selector official gLbds$a;g:Lbds$a;intermediary field_6789Lnet/minecraft/class_1440$class_1443;field_6789:Lnet/minecraft/class_1440$class_1443;named AGGRESSIVELnet/minecraft/entity/passive/PandaEntity$Gene;AGGRESSIVE:Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official hLbds$a;h:[Lbds$a;intermediary field_6786Lnet/minecraft/class_1440$class_1443;field_6786:[Lnet/minecraft/class_1440$class_1443;named VALUESLnet/minecraft/entity/passive/PandaEntity$Gene;VALUES:[Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
field_30350
private static final int field_30350- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official iLbds$a;i:Iintermediary field_30350Lnet/minecraft/class_1440$class_1443;field_30350:Inamed field_30350Lnet/minecraft/entity/passive/PandaEntity$Gene;field_30350:I
-
id
private final int id- Mappings:
Namespace Name Mixin selector official jLbds$a;j:Iintermediary field_6785Lnet/minecraft/class_1440$class_1443;field_6785:Inamed idLnet/minecraft/entity/passive/PandaEntity$Gene;id:I
-
name
- Mappings:
Namespace Name Mixin selector official kLbds$a;k:Ljava/lang/String;intermediary field_6797Lnet/minecraft/class_1440$class_1443;field_6797:Ljava/lang/String;named nameLnet/minecraft/entity/passive/PandaEntity$Gene;name:Ljava/lang/String;
-
recessive
private final boolean recessive- Mappings:
Namespace Name Mixin selector official lLbds$a;l:Zintermediary field_6790Lnet/minecraft/class_1440$class_1443;field_6790:Znamed recessiveLnet/minecraft/entity/passive/PandaEntity$Gene;recessive:Z
-
-
Constructor Details
-
Gene
- Mappings:
Namespace Name Mixin selector official <init>Lbds$a;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_1440$class_1443;<init>(Ljava/lang/String;IILjava/lang/String;Z)Vnamed <init>Lnet/minecraft/entity/passive/PandaEntity$Gene;<init>(Ljava/lang/String;IILjava/lang/String;Z)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLbds$a;a()Iintermediary method_6564Lnet/minecraft/class_1440$class_1443;method_6564()Inamed getIdLnet/minecraft/entity/passive/PandaEntity$Gene;getId()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLbds$a;b()Ljava/lang/String;intermediary method_6565Lnet/minecraft/class_1440$class_1443;method_6565()Ljava/lang/String;named getNameLnet/minecraft/entity/passive/PandaEntity$Gene;getName()Ljava/lang/String;
-
isRecessive
public boolean isRecessive()- Mappings:
Namespace Name Mixin selector official cLbds$a;c()Zintermediary method_6568Lnet/minecraft/class_1440$class_1443;method_6568()Znamed isRecessiveLnet/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 bLbds$a;b(Lbds$a;Lbds$a;)Lbds$a;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;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;
-
byId
- Mappings:
Namespace Name Mixin selector official aLbds$a;a(I)Lbds$a;intermediary method_6566Lnet/minecraft/class_1440$class_1443;method_6566(I)Lnet/minecraft/class_1440$class_1443;named byIdLnet/minecraft/entity/passive/PandaEntity$Gene;byId(I)Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
byName
- Mappings:
Namespace Name Mixin selector official aLbds$a;a(Ljava/lang/String;)Lbds$a;intermediary method_6567Lnet/minecraft/class_1440$class_1443;method_6567(Ljava/lang/String;)Lnet/minecraft/class_1440$class_1443;named byNameLnet/minecraft/entity/passive/PandaEntity$Gene;byName(Ljava/lang/String;)Lnet/minecraft/entity/passive/PandaEntity$Gene;
-
createRandom
- Mappings:
Namespace Name Mixin selector official aLbds$a;a(Ljava/util/Random;)Lbds$a;intermediary method_17688Lnet/minecraft/class_1440$class_1443;method_17688(Ljava/util/Random;)Lnet/minecraft/class_1440$class_1443;named createRandomLnet/minecraft/entity/passive/PandaEntity$Gene;createRandom(Ljava/util/Random;)Lnet/minecraft/entity/passive/PandaEntity$Gene;
-