net.minecraft.world.entity.npc

public class VillagerData

byc
net.minecraft.world.entity.npc.VillagerData
net.minecraft.class_3850
net.minecraft.unmapped.C_zuqrzrur
net.minecraft.village.VillagerData
net.minecraft.village.VillagerData
net.minecraft.src.C_1119_
net.minecraft.world.entity.npc.VillagerData

Field summary

Modifier and TypeField
public static final int
a
MIN_VILLAGER_LEVEL
field_30613
f_pfwszziv
MIN_LEVEL
MIN_LEVEL
f_150017_
public static final int
b
MAX_VILLAGER_LEVEL
field_30614
f_qmhqzzmn
MAX_LEVEL
MAX_LEVEL
f_150018_
private static final int[]
d
NEXT_LEVEL_XP_THRESHOLDS
field_18540
f_cxjhbszi
LEVEL_BASE_EXPERIENCE
LEVEL_BASE_EXPERIENCE
f_35551_
public static final com.mojang.serialization.Codec<VillagerData>
c
CODEC
field_24669
f_eachtuxh
CODEC
CODEC
f_35550_
private final VillagerType
e
type
field_17048
f_pucgcgih
type
type
f_35552_
private final VillagerProfession
f
profession
field_17049
f_wcnfuadm
profession
profession
f_35553_
private final int
g
level
field_17050
f_dxcgixir
level
level
f_35554_

Constructor summary

ModifierConstructor
public (VillagerType type, VillagerProfession profession, int level)

Method summary

Modifier and TypeMethod
public VillagerType
a()
getType()
method_16919()
m_fguzrgri()
getType()
getType()
m_35560_()
public VillagerProfession
b()
getProfession()
method_16924()
m_rpajhlcm()
getProfession()
getProfession()
m_35571_()
public int
c()
getLevel()
method_16925()
m_wtfxaisq()
getLevel()
getLevel()
m_35576_()
public VillagerData
a(byg arg0)
setType(VillagerType arg0)
method_16922(class_3854 arg0)
m_mqauseab(C_vhpfztda arg0)
withType(VillagerType type)
withType(VillagerType type)
m_35567_(C_1134_ arg0)
public VillagerData
a(bye arg0)
setProfession(VillagerProfession arg0)
method_16921(class_3852 arg0)
m_apjkwudz(C_yhqxfbuc arg0)
withProfession(VillagerProfession profession)
withProfession(VillagerProfession profession)
m_35565_(C_1121_ arg0)
public VillagerData
a(int arg0)
setLevel(int arg0)
method_16920(int arg0)
m_itmlhwwo(int arg0)
withLevel(int level)
withLevel(int level)
m_35561_(int arg0)
public static int
b(int arg0)
getMinXpPerLevel(int arg0)
method_19194(int arg0)
m_xfpybjor(int arg0)
getLowerLevelExperience(int level)
getLowerLevelExperience(int level)
m_35572_(int p_35573_)
public static int
c(int arg0)
getMaxXpPerLevel(int arg0)
method_19195(int arg0)
m_llyqkced(int arg0)
getUpperLevelExperience(int level)
getUpperLevelExperience(int level)
m_35577_(int p_35578_)
public static boolean
d(int arg0)
canLevelUp(int arg0)
method_19196(int arg0)
m_rpqexovw(int arg0)
canLevelUp(int level)
canLevelUp(int level)
m_35582_(int p_35583_)