net.minecraft.world.entity.npc

public class VillagerData

bfk
net.minecraft.world.entity.npc.VillagerData
net.minecraft.class_3850
net.minecraft.unmapped.C_zuqrzrur
net.minecraft.village.VillagerData
net.minecraft.entity.merchant.villager.VillagerData
net.minecraft.server.v1_16_R3.VillagerData

Field summary

Modifier and TypeField
private static final int[]
b
NEXT_LEVEL_XP_THRESHOLDS
field_18540
f_cxjhbszi
LEVEL_BASE_EXPERIENCE
field_221136_a
public static final com.mojang.serialization.Codec<VillagerData>
a
CODEC
field_24669
f_eachtuxh
CODEC
field_234554_a_
private final VillagerType
c
type
field_17048
f_pucgcgih
type
field_221137_b
private final VillagerProfession
d
profession
field_17049
f_wcnfuadm
profession
field_221138_c
private final int
e
level
field_17050
f_dxcgixir
level
field_221139_d

Constructor summary

ModifierConstructor
public (VillagerType arg0, VillagerProfession arg1, int arg2)

Method summary

Modifier and TypeMethod
public VillagerType
a()
getType()
method_16919()
m_fguzrgri()
getType()
func_221129_a()
getType()
public VillagerProfession
b()
getProfession()
method_16924()
m_rpajhlcm()
getProfession()
func_221130_b()
getProfession()
public int
c()
getLevel()
method_16925()
m_wtfxaisq()
getLevel()
func_221132_c()
getLevel()
public VillagerData
a(bfo arg0)
setType(VillagerType arg0)
method_16922(class_3854 arg0)
m_mqauseab(C_vhpfztda arg0)
withType(VillagerType type)
func_221134_a(VillagerType arg0)
withType(VillagerType arg0)
public VillagerData
a(bfm arg0)
setProfession(VillagerProfession arg0)
method_16921(class_3852 arg0)
m_apjkwudz(C_yhqxfbuc arg0)
withProfession(VillagerProfession profession)
func_221126_a(VillagerProfession arg0)
withProfession(VillagerProfession arg0)
public VillagerData
a(int arg0)
setLevel(int arg0)
method_16920(int arg0)
m_itmlhwwo(int arg0)
withLevel(int level)
func_221135_a(int arg0)
withLevel(int arg0)
public static int
c(int arg0)
getMaxXpPerLevel(int arg0)
method_19195(int arg0)
m_llyqkced(int arg0)
getUpperLevelExperience(int level)
func_221127_c(int arg0)
public static boolean
d(int arg0)
canLevelUp(int arg0)
method_19196(int arg0)
m_rpqexovw(int arg0)
canLevelUp(int level)
func_221128_d(int arg0)
public static int
b(int arg0)
getMinXpPerLevel(int arg0)
method_19194(int arg0)
m_xfpybjor(int arg0)
getLowerLevelExperience(int level)
func_221133_b(int arg0)