Package net.minecraft.world.entity.npc
Class VillagerProfession
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<VillagerProfession>
net.minecraft.world.entity.npc.VillagerProfession
- All Implemented Interfaces:
IForgeRegistryEntry<VillagerProfession>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionprivate PoiTypestatic VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionprivate Stringstatic VillagerProfessionstatic VillagerProfessionprivate com.google.common.collect.ImmutableSet<Item>private com.google.common.collect.ImmutableSet<Block>static VillagerProfessionstatic VillagerProfessionstatic VillagerProfessionprivate SoundEventFields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate -
Constructor Summary
ConstructorsConstructorDescriptionVillagerProfession(String p_35607_, PoiType p_35608_, com.google.common.collect.ImmutableSet<Item> p_35609_, com.google.common.collect.ImmutableSet<Block> p_35610_, SoundEvent p_35611_) -
Method Summary
Modifier and TypeMethodDescriptiongetName()com.google.common.collect.ImmutableSet<Item>com.google.common.collect.ImmutableSet<Block>(package private) static VillagerProfessionregister(String p_35617_, PoiType p_35618_, com.google.common.collect.ImmutableSet<Item> p_35619_, com.google.common.collect.ImmutableSet<Block> p_35620_, SoundEvent p_35621_)(package private) static VillagerProfessionregister(String p_35613_, PoiType p_35614_, SoundEvent p_35615_)toString()Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
NONE
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
NITWIT
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
name
-
jobPoiType
-
requestedItems
-
secondaryPoi
-
workSound
-
-
Constructor Details
-
VillagerProfession
public VillagerProfession(String p_35607_, PoiType p_35608_, com.google.common.collect.ImmutableSet<Item> p_35609_, com.google.common.collect.ImmutableSet<Block> p_35610_, @Nullable SoundEvent p_35611_)
-
-
Method Details
-
getName
-
getJobPoiType
-
getRequestedItems
-
getSecondaryPoi
-
getWorkSound
-
toString
-
register
static VillagerProfession register(String p_35613_, PoiType p_35614_, @Nullable SoundEvent p_35615_) -
register
static VillagerProfession register(String p_35617_, PoiType p_35618_, com.google.common.collect.ImmutableSet<Item> p_35619_, com.google.common.collect.ImmutableSet<Block> p_35620_, @Nullable SoundEvent p_35621_)
-