net.minecraft.world.entity.animal

public enum Panda$Gene

implements StringRepresentable

byn$a
net.minecraft.world.entity.animal.Panda$Gene
net.minecraft.class_1440$class_1443
net.minecraft.entity.passive.PandaEntity$Gene
net.minecraft.src.C_864_$C_865_
net.minecraft.world.entity.animal.EntityPanda$Gene

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (int p_29243_, String p_29244_, boolean id)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_6564()
getId()
m_29247_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()
public boolean
b()
isRecessive()
method_6568()
isRecessive()
m_29263_()
static Panda$Gene
a(byn$a arg0, byn$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)
m_29260_(C_864_$C_865_ p_29261_, C_864_$C_865_ p_29262_)
public static Panda$Gene
a(int arg0)
byId(int arg0)
method_6566(int arg0)
byId(int id)
m_29248_(int p_29249_)
public static Panda$Gene
a(String arg0)
byName(String arg0)
method_6567(String arg0)
byName(String name)
m_29253_(String p_29254_)
public static Panda$Gene
a(auv arg0)
getRandom(RandomSource arg0)
method_17688(class_5819 arg0)
createRandom(Random random)
m_218234_(C_212974_ p_218235_)