net.minecraft.entity.passive

public enum PandaEntity$Gene

implements StringIdentifiable

net.minecraft.world.entity.animal.panda.Panda$Gene
net.minecraft.class_1440$class_1443
net.minecraft.entity.passive.PandaEntity$Gene

Enum constant summary

Enum Constant
NORMAL
field_6788
NORMAL
LAZY
field_6794
LAZY
WORRIED
field_6795
WORRIED
PLAYFUL
field_6791
PLAYFUL
BROWN
field_6792
BROWN
WEAK
field_6793
WEAK
AGGRESSIVE
field_6789
AGGRESSIVE

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<PandaEntity$Gene>
CODEC
field_41673
CODEC
private static final IntFunction<PandaEntity$Gene>
BY_ID
field_6786
BY_ID
private static final int
MAX_GENE
field_30350
field_30350
private final int
id
field_6785
id
private final String
name
field_6797
name
private final boolean
isRecessive
field_6790
recessive
private static final PandaEntity$Gene[]
$VALUES
field_6796
field_6796

Constructor summary

ModifierConstructor
private (int $enum$name, String $enum$ordinal, boolean id)

Method summary

Modifier and TypeMethod
public int
getId()
method_6564()
getId()
public String
getSerializedName()
method_15434()
asString()
public boolean
isRecessive()
method_6568()
isRecessive()
private static PandaEntity$Gene
getVariantFromGenes(Panda$Gene mainGene, Panda$Gene hiddenGene)
method_6569(class_1440$class_1443 arg0, class_1440$class_1443 arg1)
getProductGene(PandaEntity$Gene mainGene, PandaEntity$Gene hiddenGene)
public static PandaEntity$Gene
byId(int id)
method_6566(int arg0)
byId(int id)
public static PandaEntity$Gene
getRandom(RandomSource random)
method_17688(class_5819 arg0)
createRandom(Random random)
private static PandaEntity$Gene[]
$values()
method_36642()
method_36642()