net.minecraft.world.entity.npc

public record VillagerProfession

csn
net.minecraft.world.entity.npc.VillagerProfession
net.minecraft.class_3852

Field summary

Modifier and TypeField
private final Component
q
name
comp_818
private final Predicate<Holder<PoiType>>
r
heldJobSite
comp_819
private final Predicate<Holder<PoiType>>
s
acquirableJobSite
comp_820
private final com.google.common.collect.ImmutableSet<Item>
t
requestedItems
comp_821
private final com.google.common.collect.ImmutableSet<Block>
u
secondaryPoi
comp_822
private final SoundEvent
v
workSound
comp_823
public static final Predicate<Holder<PoiType>>
a
ALL_ACQUIRABLE_JOBS
field_39308
public static final ResourceKey<VillagerProfession>
b
NONE
field_17051
public static final ResourceKey<VillagerProfession>
c
ARMORER
field_17052
public static final ResourceKey<VillagerProfession>
d
BUTCHER
field_17053
public static final ResourceKey<VillagerProfession>
e
CARTOGRAPHER
field_17054
public static final ResourceKey<VillagerProfession>
f
CLERIC
field_17055
public static final ResourceKey<VillagerProfession>
g
FARMER
field_17056
public static final ResourceKey<VillagerProfession>
h
FISHERMAN
field_17057
public static final ResourceKey<VillagerProfession>
i
FLETCHER
field_17058
public static final ResourceKey<VillagerProfession>
j
LEATHERWORKER
field_17059
public static final ResourceKey<VillagerProfession>
k
LIBRARIAN
field_17060
public static final ResourceKey<VillagerProfession>
l
MASON
field_17061
public static final ResourceKey<VillagerProfession>
m
NITWIT
field_17062
public static final ResourceKey<VillagerProfession>
n
SHEPHERD
field_17063
public static final ResourceKey<VillagerProfession>
o
TOOLSMITH
field_17064
public static final ResourceKey<VillagerProfession>
p
WEAPONSMITH
field_17065

Constructor summary

ModifierConstructor
public (Component 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 summary

Modifier and TypeMethod
private static ResourceKey<VillagerProfession>
a(String arg0)
createKey(String arg0)
method_66691(String arg0)
private static VillagerProfession
a(jv<csn> arg0, alv<csn> arg1, alv<cjy> arg2, axf 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)
private static VillagerProfession
a(jv<csn> arg0, alv<csn> arg1, Predicate<ji<cjy>> arg2, Predicate<ji<cjy>> arg3, axf 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)
private static VillagerProfession
a(jv<csn> arg0, alv<csn> arg1, alv<cjy> arg2, com.google.common.collect.ImmutableSet<daw> arg3, com.google.common.collect.ImmutableSet<doe> arg4, axf 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)
private static VillagerProfession
a(jv<csn> arg0, alv<csn> arg1, Predicate<ji<cjy>> arg2, Predicate<ji<cjy>> arg3, com.google.common.collect.ImmutableSet<daw> arg4, com.google.common.collect.ImmutableSet<doe> arg5, axf 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)
public static VillagerProfession
a(jv<csn> arg0)
bootstrap(Registry<VillagerProfession> arg0)
method_66692(class_2378<class_3852> arg0)
public Component
a()
name()
comp_818()
public Predicate<Holder<PoiType>>
b()
heldJobSite()
comp_819()
public Predicate<Holder<PoiType>>
c()
acquirableJobSite()
comp_820()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
public SoundEvent
f()
workSound()
comp_823()