Uses of Record Class
net.minecraft.world.entity.npc.VillagerProfession
Package
Description
-
Uses of VillagerProfession in net.minecraft.client.renderer.entity.layers
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerProfession,
VillagerMetaDataSection.Hat> VillagerProfessionLayer.professionHatCache
-
Uses of VillagerProfession in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<VillagerProfession>
BuiltInRegistries.VILLAGER_PROFESSION
Deprecated.static final ResourceKey<Registry<VillagerProfession>>
Registries.VILLAGER_PROFESSION
-
Uses of VillagerProfession in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
ResourceLocation> GiveGiftToHero.GIFTS
Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage
(VillagerProfession p_24586_, float p_24587_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage
(VillagerProfession p_24611_, float p_24612_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage
(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage
(VillagerProfession p_24596_, float p_24597_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage
(VillagerProfession p_24602_, float p_24603_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage
(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage
(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage
(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage
(VillagerProfession p_24590_, float p_24591_) private static boolean
PoiCompetitorScan.hasMatchingProfession
(Holder<PoiType> p_217334_, VillagerProfession p_217335_) -
Uses of VillagerProfession in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final VillagerProfession
VillagerProfession.ARMORER
static final VillagerProfession
VillagerProfession.BUTCHER
static final VillagerProfession
VillagerProfession.CARTOGRAPHER
static final VillagerProfession
VillagerProfession.CLERIC
static final VillagerProfession
VillagerProfession.FARMER
static final VillagerProfession
VillagerProfession.FISHERMAN
static final VillagerProfession
VillagerProfession.FLETCHER
static final VillagerProfession
VillagerProfession.LEATHERWORKER
static final VillagerProfession
VillagerProfession.LIBRARIAN
static final VillagerProfession
VillagerProfession.MASON
static final VillagerProfession
VillagerProfession.NITWIT
static final VillagerProfession
VillagerProfession.NONE
private final VillagerProfession
VillagerData.profession
static final VillagerProfession
VillagerProfession.SHEPHERD
static final VillagerProfession
VillagerProfession.TOOLSMITH
static final VillagerProfession
VillagerProfession.WEAPONSMITH
Modifier and TypeFieldDescriptionstatic final Map<VillagerProfession,
it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.EXPERIMENTAL_TRADES
static final Map<VillagerProfession,
it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.TRADES
Modifier and TypeMethodDescriptionVillagerData.getProfession()
private static VillagerProfession
VillagerProfession.register
(String p_219659_, Predicate<Holder<PoiType>> p_219660_, Predicate<Holder<PoiType>> p_219661_, com.google.common.collect.ImmutableSet<Item> p_219662_, com.google.common.collect.ImmutableSet<Block> p_219663_, SoundEvent p_219664_) private static VillagerProfession
VillagerProfession.register
(String p_219654_, Predicate<Holder<PoiType>> p_219655_, Predicate<Holder<PoiType>> p_219656_, SoundEvent p_219657_) private static VillagerProfession
VillagerProfession.register
(String p_219648_, ResourceKey<PoiType> p_219649_, com.google.common.collect.ImmutableSet<Item> p_219650_, com.google.common.collect.ImmutableSet<Block> p_219651_, SoundEvent p_219652_) private static VillagerProfession
VillagerProfession.register
(String p_219644_, ResourceKey<PoiType> p_219645_, SoundEvent p_219646_) ModifierConstructorDescriptionVillagerData
(VillagerType p_35557_, VillagerProfession p_35558_, int p_35559_) -
Uses of VillagerProfession in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTradingManager.VANILLA_TRADES
-
Uses of VillagerProfession in net.minecraftforge.event.village
ModifierConstructorDescriptionVillagerTradesEvent
(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, VillagerProfession type) -
Uses of VillagerProfession in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey<Registry<VillagerProfession>>
ForgeRegistries.Keys.VILLAGER_PROFESSIONS
static final IForgeRegistry<VillagerProfession>
ForgeRegistries.VILLAGER_PROFESSIONS
ForgeRegistries.VILLAGER_PROFESSIONS
instead.