net.minecraft.world.entity.npc

public record VillagerProfession

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

Field summary

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

Constructor summary

ModifierConstructor
public (String id, Predicate<Holder<PoiType>> primaryJobSites, Predicate<Holder<PoiType>> potentialJobSites, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)

Method summary

Modifier and TypeMethod
private static VillagerProfession
a(String arg0, ale<cey> arg1, avz arg2)
register(String arg0, ResourceKey<PoiType> arg1, SoundEvent arg2)
method_16926(String arg0, class_5321<class_4158> arg1, class_3414 arg2)
m_afajbkbx(String arg0, C_xhhleach<C_voztdcrg> arg1, C_avavozay arg2)
register(String id, RegistryKey<PointOfInterestType> heldWorkstation, SoundEvent workSound)
register(String id, RegistryKey<PointOfInterestType> key, SoundEvent workSound)
m_219643_(String p_219644_, C_5264_<C_792_> p_219645_, C_123_ p_219646_)
private static VillagerProfession
a(String arg0, Predicate<ji<cey>> arg1, Predicate<ji<cey>> arg2, avz arg3)
register(String arg0, Predicate<Holder<PoiType>> arg1, Predicate<Holder<PoiType>> arg2, SoundEvent arg3)
method_44007(String arg0, Predicate<class_6880<class_4158>> arg1, Predicate<class_6880<class_4158>> arg2, class_3414 arg3)
m_pkoovbre(String arg0, Predicate<C_cjzoxshv<C_voztdcrg>> arg1, Predicate<C_cjzoxshv<C_voztdcrg>> arg2, C_avavozay arg3)
register(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, SoundEvent workSound)
register(String id, Predicate<Holder<PointOfInterestType>> heldJobSite, Predicate<Holder<PointOfInterestType>> acquirableJobSite, SoundEvent workSound)
m_219653_(String p_219654_, Predicate<C_203228_<C_792_>> p_219655_, Predicate<C_203228_<C_792_>> p_219656_, C_123_ p_219657_)
private static VillagerProfession
a(String arg0, ale<cey> arg1, com.google.common.collect.ImmutableSet<cum> arg2, com.google.common.collect.ImmutableSet<dfb> arg3, avz arg4)
register(String arg0, ResourceKey<PoiType> arg1, com.google.common.collect.ImmutableSet<Item> arg2, com.google.common.collect.ImmutableSet<Block> arg3, SoundEvent arg4)
method_19197(String arg0, class_5321<class_4158> arg1, com.google.common.collect.ImmutableSet<class_1792> arg2, com.google.common.collect.ImmutableSet<class_2248> arg3, class_3414 arg4)
m_yjssoaif(String arg0, C_xhhleach<C_voztdcrg> arg1, com.google.common.collect.ImmutableSet<C_vorddnax> arg2, com.google.common.collect.ImmutableSet<C_mmxmpdoq> arg3, C_avavozay arg4)
register(String id, RegistryKey<PointOfInterestType> heldWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
register(String id, RegistryKey<PointOfInterestType> key, com.google.common.collect.ImmutableSet<Item> shareableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_219647_(String p_219648_, C_5264_<C_792_> p_219649_, com.google.common.collect.ImmutableSet<C_1381_> p_219650_, com.google.common.collect.ImmutableSet<C_1706_> p_219651_, C_123_ p_219652_)
private static VillagerProfession
a(String arg0, Predicate<ji<cey>> arg1, Predicate<ji<cey>> arg2, com.google.common.collect.ImmutableSet<cum> arg3, com.google.common.collect.ImmutableSet<dfb> arg4, avz arg5)
register(String arg0, Predicate<Holder<PoiType>> arg1, Predicate<Holder<PoiType>> arg2, com.google.common.collect.ImmutableSet<Item> arg3, com.google.common.collect.ImmutableSet<Block> arg4, SoundEvent arg5)
method_44008(String arg0, Predicate<class_6880<class_4158>> arg1, Predicate<class_6880<class_4158>> arg2, com.google.common.collect.ImmutableSet<class_1792> arg3, com.google.common.collect.ImmutableSet<class_2248> arg4, class_3414 arg5)
m_lyekimvs(String arg0, Predicate<C_cjzoxshv<C_voztdcrg>> arg1, Predicate<C_cjzoxshv<C_voztdcrg>> arg2, com.google.common.collect.ImmutableSet<C_vorddnax> arg3, com.google.common.collect.ImmutableSet<C_mmxmpdoq> arg4, C_avavozay arg5)
register(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
register(String id, Predicate<Holder<PointOfInterestType>> heldJobSite, Predicate<Holder<PointOfInterestType>> acquirableJobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_219658_(String p_219659_, Predicate<C_203228_<C_792_>> p_219660_, Predicate<C_203228_<C_792_>> p_219661_, com.google.common.collect.ImmutableSet<C_1381_> p_219662_, com.google.common.collect.ImmutableSet<C_1706_> p_219663_, C_123_ p_219664_)
public String
a()
name()
comp_818()
m_nmgxzvyx()
id()
name()
f_35600_()
public Predicate<Holder<PoiType>>
b()
heldJobSite()
comp_819()
m_arfdbrqv()
heldWorkstation()
heldJobSite()
f_219628_()
public Predicate<Holder<PoiType>>
c()
acquirableJobSite()
comp_820()
m_qmxqbvfv()
acquirableWorkstation()
acquirableJobSite()
f_219629_()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
m_bshmnjgf()
gatherableItems()
requestedItems()
f_35602_()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
m_rvjimwzp()
secondaryJobSites()
secondaryPoi()
f_35603_()
public SoundEvent
f()
workSound()
comp_823()
m_pxoqodqp()
workSound()
workSound()
f_35604_()