net.minecraft.world.entity.npc

public class VillagerProfession

bnh
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
public static final VillagerProfession
a
NONE
field_17051
NONE
f_35585_
public static final VillagerProfession
b
ARMORER
field_17052
ARMORER
f_35586_
public static final VillagerProfession
c
BUTCHER
field_17053
BUTCHER
f_35587_
public static final VillagerProfession
d
CARTOGRAPHER
field_17054
CARTOGRAPHER
f_35588_
public static final VillagerProfession
e
CLERIC
field_17055
CLERIC
f_35589_
public static final VillagerProfession
f
FARMER
field_17056
FARMER
f_35590_
public static final VillagerProfession
g
FISHERMAN
field_17057
FISHERMAN
f_35591_
public static final VillagerProfession
h
FLETCHER
field_17058
FLETCHER
f_35592_
public static final VillagerProfession
i
LEATHERWORKER
field_17059
LEATHERWORKER
f_35593_
public static final VillagerProfession
j
LIBRARIAN
field_17060
LIBRARIAN
f_35594_
public static final VillagerProfession
k
MASON
field_17061
MASON
f_35595_
public static final VillagerProfession
l
NITWIT
field_17062
NITWIT
f_35596_
public static final VillagerProfession
m
SHEPHERD
field_17063
SHEPHERD
f_35597_
public static final VillagerProfession
n
TOOLSMITH
field_17064
TOOLSMITH
f_35598_
public static final VillagerProfession
o
WEAPONSMITH
field_17065
WEAPONSMITH
f_35599_
private final String
p
name
field_18541
id
f_35600_
private final PoiType
q
jobPoiType
field_18542
workStation
f_35601_
private final com.google.common.collect.ImmutableSet<Item>
r
requestedItems
field_18543
gatherableItems
f_35602_
private final com.google.common.collect.ImmutableSet<Block>
s
secondaryPoi
field_18880
secondaryJobSites
f_35603_
private final SoundEvent
t
workSound
field_20633
workSound
f_35604_

Constructor summary

ModifierConstructor
private (String id, PoiType workStation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)

Method summary

Modifier and TypeMethod
public String
a()
getName()
method_35202()
getId()
m_150028_()
public PoiType
b()
getJobPoiType()
method_19198()
getWorkStation()
m_35622_()
public com.google.common.collect.ImmutableSet<Item>
c()
getRequestedItems()
method_19199()
getGatherableItems()
m_35623_()
public com.google.common.collect.ImmutableSet<Block>
d()
getSecondaryPoi()
method_19630()
getSecondaryJobSites()
m_35624_()
public SoundEvent
e()
getWorkSound()
method_22384()
getWorkSound()
m_35625_()
static VillagerProfession
a(String arg0, bhd arg1, agu arg2)
register(String arg0, PoiType arg1, SoundEvent arg2)
method_16926(String arg0, class_4158 arg1, class_3414 arg2)
register(String id, PointOfInterestType workStation, SoundEvent workSound)
m_35612_(String p_35613_, C_792_ p_35614_, C_123_ p_35615_)
static VillagerProfession
a(String arg0, bhd arg1, com.google.common.collect.ImmutableSet<bua> arg2, com.google.common.collect.ImmutableSet<ccy> arg3, agu arg4)
register(String arg0, PoiType arg1, com.google.common.collect.ImmutableSet<Item> arg2, com.google.common.collect.ImmutableSet<Block> arg3, SoundEvent arg4)
method_19197(String arg0, 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, PointOfInterestType workStation, com.google.common.collect.ImmutableSet<Item> gatherableItems, com.google.common.collect.ImmutableSet<Block> secondaryJobSites, SoundEvent workSound)
m_35616_(String p_35617_, C_792_ p_35618_, com.google.common.collect.ImmutableSet<C_1381_> p_35619_, com.google.common.collect.ImmutableSet<C_1706_> p_35620_, C_123_ p_35621_)