net.minecraft.village

public record VillagerProfession

cui
net.minecraft.world.entity.npc.VillagerProfession
net.minecraft.class_3852
net.minecraft.village.VillagerProfession
net.minecraft.unmapped.C_yhqxfbuc
net.minecraft.village.VillagerProfession
net.minecraft.src.C_1121_

Field summary

Modifier and TypeField
private final Text
q
name
comp_818
id
f_whefzzlg
name
f_35600_
private final Predicate<RegistryEntry<PointOfInterestType>>
r
heldJobSite
comp_819
heldWorkstation
f_obosegzt
primaryJobSites
f_219628_
private final Predicate<RegistryEntry<PointOfInterestType>>
s
acquirableJobSite
comp_820
acquirableWorkstation
f_kmphlego
potentialJobSites
f_219629_
private final com.google.common.collect.ImmutableSet<Item>
t
requestedItems
comp_821
gatherableItems
f_ayvuterw
requestedItems
f_35602_
private final com.google.common.collect.ImmutableSet<Block>
u
secondaryPoi
comp_822
secondaryJobSites
f_acjlkvad
secondaryJobSites
f_35603_
private final SoundEvent
v
workSound
comp_823
workSound
f_otcpaipa
workSound
f_35604_
public static final Predicate<RegistryEntry<PointOfInterestType>>
a
ALL_ACQUIRABLE_JOBS
field_39308
IS_ACQUIRABLE_JOB_SITE
f_vqqijdeq
ANY_JOB_SITE
f_219627_
public static final RegistryKey<VillagerProfession>
b
NONE
field_17051
NONE
f_twurfflm
NONE
f_35585_
public static final RegistryKey<VillagerProfession>
c
ARMORER
field_17052
ARMORER
f_ablznjvx
ARMORER
f_35586_
public static final RegistryKey<VillagerProfession>
d
BUTCHER
field_17053
BUTCHER
f_bgcfkqcs
BUTCHER
f_35587_
public static final RegistryKey<VillagerProfession>
e
CARTOGRAPHER
field_17054
CARTOGRAPHER
f_tzmxhhei
CARTOGRAPHER
f_35588_
public static final RegistryKey<VillagerProfession>
f
CLERIC
field_17055
CLERIC
f_dedabkrk
CLERIC
f_35589_
public static final RegistryKey<VillagerProfession>
g
FARMER
field_17056
FARMER
f_levapbqq
FARMER
f_35590_
public static final RegistryKey<VillagerProfession>
h
FISHERMAN
field_17057
FISHERMAN
f_uhmbxwnj
FISHERMAN
f_35591_
public static final RegistryKey<VillagerProfession>
i
FLETCHER
field_17058
FLETCHER
f_cjyutgaf
FLETCHER
f_35592_
public static final RegistryKey<VillagerProfession>
j
LEATHERWORKER
field_17059
LEATHERWORKER
f_nlnsqing
LEATHERWORKER
f_35593_
public static final RegistryKey<VillagerProfession>
k
LIBRARIAN
field_17060
LIBRARIAN
f_tuxjuvjr
LIBRARIAN
f_35594_
public static final RegistryKey<VillagerProfession>
l
MASON
field_17061
MASON
f_bmlwjlmk
MASON
f_35595_
public static final RegistryKey<VillagerProfession>
m
NITWIT
field_17062
NITWIT
f_skgtrbox
NITWIT
f_35596_
public static final RegistryKey<VillagerProfession>
n
SHEPHERD
field_17063
SHEPHERD
f_aznmwuhs
SHEPHERD
f_35597_
public static final RegistryKey<VillagerProfession>
o
TOOLSMITH
field_17064
TOOLSMITH
f_wshkbgen
TOOLSMITH
f_35598_
public static final RegistryKey<VillagerProfession>
p
WEAPONSMITH
field_17065
WEAPONSMITH
f_kuqljvhf
WEAPONSMITH
f_35599_

Constructor summary

ModifierConstructor
public (Text name, Predicate<RegistryEntry<PointOfInterestType>> primaryJobSites, Predicate<RegistryEntry<PointOfInterestType>> potentialJobSites, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)

Method summary

Modifier and TypeMethod
private static RegistryKey<VillagerProfession>
a(String o)
createKey(String arg0)
method_66691(String arg0)
of(String id)
m_hcachmmv(String arg0)
createKey(String path)
m_385816_(String p_392057_)
private static VillagerProfession
a(jy<cui> o, amd<cui> o, amd<cls> o, ayy o)
register(Registry<VillagerProfession> arg0, ResourceKey<VillagerProfession> arg1, ResourceKey<PoiType> arg2, SoundEvent arg3)
method_16926(class_2378<class_3852> arg0, class_5321<class_3852> arg1, class_5321<class_4158> arg2, class_3414 arg3)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, SoundEvent workSound)
m_cwosldqc(C_tqxyjqsk<C_yhqxfbuc> arg0, C_xhhleach<C_yhqxfbuc> arg1, C_xhhleach<C_voztdcrg> arg2, C_avavozay arg3)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> poiKey, SoundEvent workSound)
m_219643_(C_4705_<C_1121_> p_393915_, C_5264_<C_1121_> p_219645_, C_5264_<C_792_> p_392275_, C_123_ p_219646_)
private static VillagerProfession
a(jy<cui> o, amd<cui> o, Predicate<jl<cls>> o, Predicate<jl<cls>> o, ayy o)
register(Registry<VillagerProfession> arg0, ResourceKey<VillagerProfession> arg1, Predicate<Holder<PoiType>> arg2, Predicate<Holder<PoiType>> arg3, SoundEvent arg4)
method_44007(class_2378<class_3852> arg0, class_5321<class_3852> arg1, Predicate<class_6880<class_4158>> arg2, Predicate<class_6880<class_4158>> arg3, class_3414 arg4)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, SoundEvent workSound)
m_ipjndlcn(C_tqxyjqsk<C_yhqxfbuc> arg0, C_xhhleach<C_yhqxfbuc> arg1, Predicate<C_cjzoxshv<C_voztdcrg>> arg2, Predicate<C_cjzoxshv<C_voztdcrg>> arg3, C_avavozay arg4)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<Holder<PointOfInterestType>> primaryJobSites, Predicate<Holder<PointOfInterestType>> potentialJobSites, SoundEvent workSound)
m_219647_(C_4705_<C_1121_> p_394693_, C_5264_<C_1121_> p_219649_, Predicate<C_203228_<C_792_>> p_393436_, Predicate<C_203228_<C_792_>> p_397870_, C_123_ p_219652_)
private static VillagerProfession
a(jy<cui> o, amd<cui> o, amd<cls> o, com.google.common.collect.ImmutableSet<dcr> o, com.google.common.collect.ImmutableSet<dpz> o, ayy o)
register(Registry<VillagerProfession> arg0, ResourceKey<VillagerProfession> arg1, ResourceKey<PoiType> arg2, com.google.common.collect.ImmutableSet<Item> arg3, com.google.common.collect.ImmutableSet<Block> arg4, SoundEvent arg5)
method_19197(class_2378<class_3852> arg0, class_5321<class_3852> arg1, class_5321<class_4158> arg2, com.google.common.collect.ImmutableSet<class_1792> arg3, com.google.common.collect.ImmutableSet<class_2248> arg4, class_3414 arg5)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_uqopruew(C_tqxyjqsk<C_yhqxfbuc> arg0, C_xhhleach<C_yhqxfbuc> arg1, C_xhhleach<C_voztdcrg> arg2, com.google.common.collect.ImmutableSet<C_vorddnax> arg3, com.google.common.collect.ImmutableSet<C_mmxmpdoq> arg4, C_avavozay arg5)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> poiKey, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_219658_(C_4705_<C_1121_> p_395015_, C_5264_<C_1121_> p_394072_, C_5264_<C_792_> p_395537_, com.google.common.collect.ImmutableSet<C_1381_> p_219662_, com.google.common.collect.ImmutableSet<C_1706_> p_219663_, C_123_ p_219664_)
private static VillagerProfession
a(jy<cui> o, amd<cui> o, Predicate<jl<cls>> o, Predicate<jl<cls>> o, com.google.common.collect.ImmutableSet<dcr> o, com.google.common.collect.ImmutableSet<dpz> o, ayy o)
register(Registry<VillagerProfession> arg0, ResourceKey<VillagerProfession> arg1, Predicate<Holder<PoiType>> arg2, Predicate<Holder<PoiType>> arg3, com.google.common.collect.ImmutableSet<Item> arg4, com.google.common.collect.ImmutableSet<Block> arg5, SoundEvent arg6)
method_44008(class_2378<class_3852> arg0, class_5321<class_3852> arg1, Predicate<class_6880<class_4158>> arg2, Predicate<class_6880<class_4158>> arg3, com.google.common.collect.ImmutableSet<class_1792> arg4, com.google.common.collect.ImmutableSet<class_2248> arg5, class_3414 arg6)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_nipdqqvd(C_tqxyjqsk<C_yhqxfbuc> arg0, C_xhhleach<C_yhqxfbuc> arg1, Predicate<C_cjzoxshv<C_voztdcrg>> arg2, Predicate<C_cjzoxshv<C_voztdcrg>> arg3, com.google.common.collect.ImmutableSet<C_vorddnax> arg4, com.google.common.collect.ImmutableSet<C_mmxmpdoq> arg5, C_avavozay arg6)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<Holder<PointOfInterestType>> primaryJobSites, Predicate<Holder<PointOfInterestType>> potentialJobSites, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_219653_(C_4705_<C_1121_> p_395735_, C_5264_<C_1121_> p_397170_, Predicate<C_203228_<C_792_>> p_219655_, Predicate<C_203228_<C_792_>> p_219656_, com.google.common.collect.ImmutableSet<C_1381_> p_396051_, com.google.common.collect.ImmutableSet<C_1706_> p_394349_, C_123_ p_219657_)
public static VillagerProfession
a(jy<cui> o)
bootstrap(Registry<VillagerProfession> arg0)
method_66692(class_2378<class_3852> arg0)
registerAndGetDefault(Registry<VillagerProfession> registry)
m_kucliwbl(C_tqxyjqsk<C_yhqxfbuc> arg0)
bootstrap(Registry<VillagerProfession> registry)
m_387885_(C_4705_<C_1121_> p_393047_)
public Text
a()
name()
comp_818()
id()
m_nmgxzvyx()
name()
f_35600_()
public Predicate<RegistryEntry<PointOfInterestType>>
b()
heldJobSite()
comp_819()
heldWorkstation()
m_arfdbrqv()
heldJobSite()
f_219628_()
public Predicate<RegistryEntry<PointOfInterestType>>
c()
acquirableJobSite()
comp_820()
acquirableWorkstation()
m_qmxqbvfv()
acquirableJobSite()
f_219629_()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
gatherableItems()
m_bshmnjgf()
requestedItems()
f_35602_()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
secondaryJobSites()
m_rvjimwzp()
secondaryPoi()
f_35603_()
public SoundEvent
f()
workSound()
comp_823()
workSound()
m_pxoqodqp()
workSound()
f_35604_()