net.minecraft.world.entity.npc.villager

public record VillagerProfession

dda
net.minecraft.world.entity.npc.villager.VillagerProfession
net.minecraft.class_3852
net.minecraft.village.VillagerProfession
net.minecraft.src.C_432388_
net.minecraft.world.entity.npc.villager.VillagerProfession

字段概要

修饰符与类型字段
private final Component
q
name
comp_818
id
f_433589_
private final Predicate<Holder<PoiType>>
r
heldJobSite
comp_819
heldWorkstation
f_435334_
private final Predicate<Holder<PoiType>>
s
acquirableJobSite
comp_820
acquirableWorkstation
f_433638_
private final com.google.common.collect.ImmutableSet<Item>
t
requestedItems
comp_821
gatherableItems
f_433192_
private final com.google.common.collect.ImmutableSet<Block>
u
secondaryPoi
comp_822
secondaryJobSites
f_433805_
private final SoundEvent
v
workSound
comp_823
workSound
f_435708_
public static final Predicate<Holder<PoiType>>
a
ALL_ACQUIRABLE_JOBS
field_39308
IS_ACQUIRABLE_JOB_SITE
f_433750_
public static final ResourceKey<VillagerProfession>
b
NONE
field_17051
NONE
f_433759_
public static final ResourceKey<VillagerProfession>
c
ARMORER
field_17052
ARMORER
f_437404_
public static final ResourceKey<VillagerProfession>
d
BUTCHER
field_17053
BUTCHER
f_436895_
public static final ResourceKey<VillagerProfession>
e
CARTOGRAPHER
field_17054
CARTOGRAPHER
f_433456_
public static final ResourceKey<VillagerProfession>
f
CLERIC
field_17055
CLERIC
f_436800_
public static final ResourceKey<VillagerProfession>
g
FARMER
field_17056
FARMER
f_433309_
public static final ResourceKey<VillagerProfession>
h
FISHERMAN
field_17057
FISHERMAN
f_434768_
public static final ResourceKey<VillagerProfession>
i
FLETCHER
field_17058
FLETCHER
f_435265_
public static final ResourceKey<VillagerProfession>
j
LEATHERWORKER
field_17059
LEATHERWORKER
f_436330_
public static final ResourceKey<VillagerProfession>
k
LIBRARIAN
field_17060
LIBRARIAN
f_436847_
public static final ResourceKey<VillagerProfession>
l
MASON
field_17061
MASON
f_436930_
public static final ResourceKey<VillagerProfession>
m
NITWIT
field_17062
NITWIT
f_435849_
public static final ResourceKey<VillagerProfession>
n
SHEPHERD
field_17063
SHEPHERD
f_436244_
public static final ResourceKey<VillagerProfession>
o
TOOLSMITH
field_17064
TOOLSMITH
f_434455_
public static final ResourceKey<VillagerProfession>
p
WEAPONSMITH
field_17065
WEAPONSMITH
f_434153_

构造函数概要

修饰符构造函数
public (Component id, Predicate<Holder<PoiType>> heldWorkstation, Predicate<Holder<PoiType>> acquirableWorkstation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)

方法概要

修饰符与类型方法
private static ResourceKey<VillagerProfession>
a(String arg0)
createKey(String arg0)
method_66691(String arg0)
of(String id)
m_439131_(String p_458280_)
private static VillagerProfession
a(jq<dda> arg0, amt<dda> arg1, amt<cta> arg2, bcz 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)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, SoundEvent workSound)
m_441213_(C_4705_<C_432388_> p_451838_, C_5264_<C_432388_> p_454597_, C_5264_<C_792_> p_451406_, C_123_ p_456523_)
private static VillagerProfession
a(jq<dda> arg0, amt<dda> arg1, Predicate<jd<cta>> arg2, Predicate<jd<cta>> arg3, bcz 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)
register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, SoundEvent workSound)
m_443088_(C_4705_<C_432388_> p_460987_, C_5264_<C_432388_> p_451659_, Predicate<C_203228_<C_792_>> p_451477_, Predicate<C_203228_<C_792_>> p_451897_, C_123_ p_454008_)
private static VillagerProfession
a(jq<dda> arg0, amt<dda> arg1, amt<cta> arg2, com.google.common.collect.ImmutableSet<dlp> arg3, com.google.common.collect.ImmutableSet<dzq> arg4, bcz 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)
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_441958_(C_4705_<C_432388_> p_454580_, C_5264_<C_432388_> p_457254_, C_5264_<C_792_> p_458073_, com.google.common.collect.ImmutableSet<C_1381_> p_454610_, com.google.common.collect.ImmutableSet<C_1706_> p_455699_, C_123_ p_452226_)
private static VillagerProfession
a(jq<dda> arg0, amt<dda> arg1, Predicate<jd<cta>> arg2, Predicate<jd<cta>> arg3, com.google.common.collect.ImmutableSet<dlp> arg4, com.google.common.collect.ImmutableSet<dzq> arg5, bcz 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)
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_440479_(C_4705_<C_432388_> p_453251_, C_5264_<C_432388_> p_454243_, Predicate<C_203228_<C_792_>> p_458179_, Predicate<C_203228_<C_792_>> p_457965_, com.google.common.collect.ImmutableSet<C_1381_> p_451774_, com.google.common.collect.ImmutableSet<C_1706_> p_454355_, C_123_ p_454937_)
public static VillagerProfession
a(jq<dda> arg0)
bootstrap(Registry<VillagerProfession> arg0)
method_66692(class_2378<class_3852> arg0)
registerAndGetDefault(Registry<VillagerProfession> registry)
m_444117_(C_4705_<C_432388_> p_452291_)
public Component
a()
name()
comp_818()
id()
f_433589_()
public Predicate<Holder<PoiType>>
b()
heldJobSite()
comp_819()
heldWorkstation()
f_435334_()
public Predicate<Holder<PoiType>>
c()
acquirableJobSite()
comp_820()
acquirableWorkstation()
f_433638_()
public com.google.common.collect.ImmutableSet<Item>
d()
requestedItems()
comp_821()
gatherableItems()
f_433192_()
public com.google.common.collect.ImmutableSet<Block>
e()
secondaryPoi()
comp_822()
secondaryJobSites()
f_433805_()
public SoundEvent
f()
workSound()
comp_823()
workSound()
f_435708_()