net.minecraft.world.entity.animal

public enum Panda$Gene

implements StringRepresentable

cim$a
net.minecraft.world.entity.animal.Panda$Gene
net.minecraft.class_1440$class_1443
net.minecraft.entity.passive.PandaEntity$Gene
net.minecraft.world.entity.animal.EntityPanda$Gene

Enum constant summary

Enum Constant
a
NORMAL
field_6788
NORMAL
b
LAZY
field_6794
LAZY
c
WORRIED
field_6795
WORRIED
d
PLAYFUL
field_6791
PLAYFUL
e
BROWN
field_6792
BROWN
f
WEAK
field_6793
WEAK
g
AGGRESSIVE
field_6789
AGGRESSIVE

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<Panda$Gene>
h
CODEC
field_41673
CODEC
private static final IntFunction<Panda$Gene>
i
BY_ID
field_6786
BY_ID
private static final int
j
MAX_GENE
field_30350
field_30350
private final int
k
id
field_6785
id
private final String
l
name
field_6797
name
private final boolean
m
isRecessive
field_6790
recessive

Constructor summary

ModifierConstructor
private (int arg0, String arg1, boolean id)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_6564()
getId()
public String
c()
getSerializedName()
method_15434()
asString()
public boolean
b()
isRecessive()
method_6568()
isRecessive()
static Panda$Gene
a(cim$a arg0, cim$a arg1)
getVariantFromGenes(Panda$Gene arg0, Panda$Gene arg1)
method_6569(class_1440$class_1443 arg0, class_1440$class_1443 arg1)
getProductGene(PandaEntity$Gene mainGene, PandaEntity$Gene hiddenGene)
public static Panda$Gene
a(int arg0)
byId(int arg0)
method_6566(int arg0)
byId(int id)
public static Panda$Gene
a(String arg0)
byName(String arg0)
method_6567(String arg0)
byName(String name)
public static Panda$Gene
a(bam arg0)
getRandom(RandomSource arg0)
method_17688(class_5819 arg0)
createRandom(Random random)