net.minecraft.village

public record VillagerData

dcy
net.minecraft.world.entity.npc.villager.VillagerData
net.minecraft.class_3850
net.minecraft.village.VillagerData
net.minecraft.unmapped.C_zuqrzrur
net.minecraft.village.VillagerData
net.minecraft.src.C_432731_

Field summary

Modifier and TypeField
private final RegistryEntry<VillagerType>
e
type
comp_3520
type
f_pucgcgih
type
f_435459_
private final RegistryEntry<VillagerProfession>
f
profession
comp_3521
profession
f_wcnfuadm
profession
f_436029_
private final int
g
level
comp_3522
level
f_dxcgixir
level
f_434094_
public static final int
a
MIN_VILLAGER_LEVEL
field_30613
MIN_LEVEL
f_pfwszziv
MIN_LEVEL
f_434801_
public static final int
b
MAX_VILLAGER_LEVEL
field_30614
MAX_LEVEL
f_qmhqzzmn
MAX_LEVEL
f_433284_
private static final int[]
h
NEXT_LEVEL_XP_THRESHOLDS
field_18540
LEVEL_BASE_EXPERIENCE
f_cxjhbszi
BASE_EXPERIENCE_BY_LEVEL
f_435224_
public static final com.mojang.serialization.Codec<VillagerData>
c
CODEC
field_24669
CODEC
f_eachtuxh
CODEC
f_433252_
public static final PacketCodec<RegistryByteBuf, VillagerData>
d
STREAM_CODEC
field_48345
PACKET_CODEC
f_xovgoapg
PACKET_CODEC
f_434489_

Constructor summary

ModifierConstructor
public (RegistryEntry<VillagerType> type, RegistryEntry<VillagerProfession> profession, int level)

Method summary

Modifier and TypeMethod
public VillagerData
a(jd<ddc> arg0)
withType(Holder<VillagerType> arg0)
method_16922(class_6880<class_3854> arg0)
withType(RegistryEntry<VillagerType> type)
m_vstbpfms(C_cjzoxshv<C_vhpfztda> arg0)
m_vstbpfms(Holder<VillagerType> type)
m_446435_(C_203228_<C_432739_> arg0)
public VillagerData
a(je$a o, amt<ddc> arg1)
withType(HolderGetter$Provider arg0, ResourceKey<VillagerType> arg1)
method_66687(class_7871$class_7872 arg0, class_5321<class_3854> arg1)
withType(RegistryEntryLookup$RegistryLookup registries, RegistryKey<VillagerType> typeKey)
m_owkxclws(C_pzdchrcy$C_pbvqpmst arg0, C_xhhleach<C_vhpfztda> arg1)
m_owkxclws(HolderProvider$Provider arg0, RegistryKey<VillagerType> key)
m_445003_(C_254583_$C_254596_ p_454581_, C_5264_<C_432739_> arg1)
public VillagerData
b(jd<dda> arg0)
withProfession(Holder<VillagerProfession> arg0)
method_16921(class_6880<class_3852> arg0)
withProfession(RegistryEntry<VillagerProfession> profession)
m_hwzbijpa(C_cjzoxshv<C_yhqxfbuc> arg0)
m_hwzbijpa(Holder<VillagerProfession> profession)
m_445195_(C_203228_<C_432388_> arg0)
public VillagerData
b(je$a o, amt<dda> arg1)
withProfession(HolderGetter$Provider arg0, ResourceKey<VillagerProfession> arg1)
method_66688(class_7871$class_7872 arg0, class_5321<class_3852> arg1)
withProfession(RegistryEntryLookup$RegistryLookup registries, RegistryKey<VillagerProfession> professionKey)
m_mubuavug(C_pzdchrcy$C_pbvqpmst arg0, C_xhhleach<C_yhqxfbuc> arg1)
m_mubuavug(HolderProvider$Provider arg0, RegistryKey<VillagerProfession> key)
m_445867_(C_254583_$C_254596_ p_458279_, C_5264_<C_432388_> arg1)
public VillagerData
a(int arg0)
withLevel(int arg0)
method_16920(int arg0)
withLevel(int level)
m_kxeyphax(int arg0)
withLevel(int level)
m_443646_(int arg0)
public static int
b(int o)
getMinXpPerLevel(int arg0)
method_19194(int arg0)
getLowerLevelExperience(int level)
m_xfpybjor(int arg0)
getLowerLevelExperience(int level)
m_441300_(int p_454074_)
public static int
c(int o)
getMaxXpPerLevel(int arg0)
method_19195(int arg0)
getUpperLevelExperience(int level)
m_llyqkced(int arg0)
getUpperLevelExperience(int level)
m_439794_(int p_460462_)
public static boolean
d(int o)
canLevelUp(int arg0)
method_19196(int arg0)
canLevelUp(int level)
m_rpqexovw(int arg0)
canLevelUp(int level)
m_441014_(int p_455114_)
public RegistryEntry<VillagerType>
a()
type()
comp_3520()
type()
m_ljjnmxgu()
type()
f_435459_()
public RegistryEntry<VillagerProfession>
b()
profession()
comp_3521()
profession()
m_jpdjtvog()
profession()
f_436029_()
public int
c()
level()
comp_3522()
level()
m_uzrxlbcu()
level()
f_434094_()