net.minecraft.world.entity.npc

public record VillagerProfession

cqr
net.minecraft.world.entity.npc.VillagerProfession
net.minecraft.class_3852
net.minecraft.unmapped.C_yhqxfbuc
net.minecraft.village.VillagerProfession
net.minecraft.village.VillagerProfession

Field summary

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

Constructor summary

ModifierConstructor
public (Component name, 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 ResourceKey<VillagerProfession>
a(String arg0)
createKey(String arg0)
method_66691(String arg0)
m_hcachmmv(String arg0)
of(String id)
m_hcachmmv(String path)
private static VillagerProfession
a(jr<cqr> arg0, alf<cqr> arg1, alf<cij> arg2, awm arg3)
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)
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> heldWorkstation, SoundEvent workSound)
m_cwosldqc(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> arg2, SoundEvent workSound)
private static VillagerProfession
a(jr<cqr> arg0, alf<cqr> arg1, Predicate<je<cij>> arg2, Predicate<je<cij>> arg3, awm arg4)
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)
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<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, SoundEvent workSound)
m_ipjndlcn(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<Holder<PointOfInterestType>> primaryJobSites, Predicate<Holder<PointOfInterestType>> potentialJobSites, SoundEvent workSound)
private static VillagerProfession
a(jr<cqr> arg0, alf<cqr> arg1, alf<cij> arg2, com.google.common.collect.ImmutableSet<cyz> arg3, com.google.common.collect.ImmutableSet<dmf> arg4, awm arg5)
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)
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> heldWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_uqopruew(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> arg2, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
private static VillagerProfession
a(jr<cqr> arg0, alf<cqr> arg1, Predicate<je<cij>> arg2, Predicate<je<cij>> arg3, com.google.common.collect.ImmutableSet<cyz> arg4, com.google.common.collect.ImmutableSet<dmf> arg5, awm arg6)
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)
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<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(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)
public static VillagerProfession
a(jr<cqr> arg0)
bootstrap(Registry<VillagerProfession> arg0)
method_66692(class_2378<class_3852> arg0)
m_kucliwbl(C_tqxyjqsk<C_yhqxfbuc> arg0)
registerAndGetDefault(Registry<VillagerProfession> registry)
m_kucliwbl(Registry<VillagerProfession> registry)
public Component
a()
name()
comp_818()
m_nmgxzvyx()
id()
name()
public Predicate<Holder<PoiType>>
b()
heldJobSite()
comp_819()
m_arfdbrqv()
heldWorkstation()
heldJobSite()
public Predicate<Holder<PoiType>>
c()
acquirableJobSite()
comp_820()
m_qmxqbvfv()
acquirableWorkstation()
acquirableJobSite()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
m_bshmnjgf()
gatherableItems()
requestedItems()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
m_rvjimwzp()
secondaryJobSites()
secondaryPoi()
public SoundEvent
f()
workSound()
comp_823()
m_pxoqodqp()
workSound()
workSound()