net.minecraft.world.entity.npc

public record VillagerProfession

bsv
net.minecraft.world.entity.npc.VillagerProfession
net.minecraft.class_3852
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
id
f_35600_
private final Predicate<Holder<PoiType>>
r
heldJobSite
comp_819
heldWorkstation
f_219628_
private final Predicate<Holder<PoiType>>
s
acquirableJobSite
comp_820
acquirableWorkstation
f_219629_
private final com.google.common.collect.ImmutableSet<Item>
t
requestedItems
comp_821
gatherableItems
f_35602_
private final com.google.common.collect.ImmutableSet<Block>
u
secondaryPoi
comp_822
secondaryJobSites
f_35603_
private final SoundEvent
v
workSound
comp_823
workSound
f_35604_
public static final Predicate<Holder<PoiType>>
a
ALL_ACQUIRABLE_JOBS
field_39308
IS_ACQUIRABLE_JOB_SITE
f_219627_
public static final VillagerProfession
b
NONE
field_17051
NONE
f_35585_
public static final VillagerProfession
c
ARMORER
field_17052
ARMORER
f_35586_
public static final VillagerProfession
d
BUTCHER
field_17053
BUTCHER
f_35587_
public static final VillagerProfession
e
CARTOGRAPHER
field_17054
CARTOGRAPHER
f_35588_
public static final VillagerProfession
f
CLERIC
field_17055
CLERIC
f_35589_
public static final VillagerProfession
g
FARMER
field_17056
FARMER
f_35590_
public static final VillagerProfession
h
FISHERMAN
field_17057
FISHERMAN
f_35591_
public static final VillagerProfession
i
FLETCHER
field_17058
FLETCHER
f_35592_
public static final VillagerProfession
j
LEATHERWORKER
field_17059
LEATHERWORKER
f_35593_
public static final VillagerProfession
k
LIBRARIAN
field_17060
LIBRARIAN
f_35594_
public static final VillagerProfession
l
MASON
field_17061
MASON
f_35595_
public static final VillagerProfession
m
NITWIT
field_17062
NITWIT
f_35596_
public static final VillagerProfession
n
SHEPHERD
field_17063
SHEPHERD
f_35597_
public static final VillagerProfession
o
TOOLSMITH
field_17064
TOOLSMITH
f_35598_
public static final VillagerProfession
p
WEAPONSMITH
field_17065
WEAPONSMITH
f_35599_

Constructor summary

ModifierConstructor
public (String id, Predicate<Holder<PoiType>> f_219629_, Predicate<Holder<PoiType>> f_35602_, com.google.common.collect.ImmutableSet<Item> f_35603_, com.google.common.collect.ImmutableSet<Block> f_35604_, SoundEvent arg5)

Method summary

Modifier and TypeMethod
private static VillagerProfession
a(String arg0, aai<bly> arg1, ajd arg2)
register(String arg0, ResourceKey<PoiType> arg1, SoundEvent arg2)
method_16926(String arg0, class_5321<class_4158> arg1, class_3414 arg2)
register(String id, RegistryKey<PointOfInterestType> heldWorkstation, SoundEvent workSound)
m_219643_(String p_219644_, C_5264_<C_792_> p_219645_, C_123_ p_219646_)
private static VillagerProfession
a(String arg0, Predicate<hc<bly>> arg1, Predicate<hc<bly>> arg2, ajd 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)
register(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, 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, aai<bly> arg1, com.google.common.collect.ImmutableSet<bzw> arg2, com.google.common.collect.ImmutableSet<ciw> arg3, ajd 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)
register(String id, RegistryKey<PointOfInterestType> heldWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, 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<hc<bly>> arg1, Predicate<hc<bly>> arg2, com.google.common.collect.ImmutableSet<bzw> arg3, com.google.common.collect.ImmutableSet<ciw> arg4, ajd 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)
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)
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()
id()
f_35600_()
public Predicate<Holder<PoiType>>
b()
heldJobSite()
comp_819()
heldWorkstation()
f_219628_()
public Predicate<Holder<PoiType>>
c()
acquirableJobSite()
comp_820()
acquirableWorkstation()
f_219629_()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
gatherableItems()
f_35602_()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
secondaryJobSites()
f_35603_()
public SoundEvent
f()
workSound()
comp_823()
workSound()
f_35604_()