Uses of Record Class
net.minecraft.world.entity.npc.VillagerProfession
Packages that use VillagerProfession
Package
Description
-
Uses of VillagerProfession in net.minecraft.client.renderer.entity.layers
Fields in net.minecraft.client.renderer.entity.layers with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectMap
<ResourceKey<VillagerProfession>, VillagerMetadataSection.Hat> VillagerProfessionLayer.professionHatCache
-
Uses of VillagerProfession in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final DefaultedRegistry
<VillagerProfession> BuiltInRegistries.VILLAGER_PROFESSION
static final ResourceKey
<Registry<VillagerProfession>> Registries.VILLAGER_PROFESSION
-
Uses of VillagerProfession in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionprivate static final Map
<ResourceKey<VillagerProfession>, ResourceKey<LootTable>> GiveGiftToHero.GIFTS
Deprecated.Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage
(Holder<VillagerProfession> p_397630_, float p_24587_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage
(Holder<VillagerProfession> p_397319_, float p_24612_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage
(Holder<VillagerProfession> p_397229_, float p_24600_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage
(Holder<VillagerProfession> p_397132_, float p_24597_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage
(Holder<VillagerProfession> p_397569_, float p_24603_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage
(Holder<VillagerProfession> p_397728_, float p_24606_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage
(Holder<VillagerProfession> p_397446_, float p_24609_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage
(Holder<VillagerProfession> p_397749_, float p_24594_) static com.google.common.collect.ImmutableList
<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage
(Holder<VillagerProfession> p_397559_, float p_24591_) -
Uses of VillagerProfession in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final ResourceKey
<VillagerProfession> VillagerProfession.ARMORER
static final ResourceKey
<VillagerProfession> VillagerProfession.BUTCHER
static final ResourceKey
<VillagerProfession> VillagerProfession.CARTOGRAPHER
static final ResourceKey
<VillagerProfession> VillagerProfession.CLERIC
static final Map
<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.EXPERIMENTAL_TRADES
static final ResourceKey
<VillagerProfession> VillagerProfession.FARMER
static final ResourceKey
<VillagerProfession> VillagerProfession.FISHERMAN
static final ResourceKey
<VillagerProfession> VillagerProfession.FLETCHER
static final ResourceKey
<VillagerProfession> VillagerProfession.LEATHERWORKER
static final ResourceKey
<VillagerProfession> VillagerProfession.LIBRARIAN
static final ResourceKey
<VillagerProfession> VillagerProfession.MASON
static final ResourceKey
<VillagerProfession> VillagerProfession.NITWIT
static final ResourceKey
<VillagerProfession> VillagerProfession.NONE
private final Holder
<VillagerProfession> VillagerData.profession
The field for theprofession
record component.static final ResourceKey
<VillagerProfession> VillagerProfession.SHEPHERD
static final ResourceKey
<VillagerProfession> VillagerProfession.TOOLSMITH
static final Map
<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.TRADES
static final ResourceKey
<VillagerProfession> VillagerProfession.WEAPONSMITH
Methods in net.minecraft.world.entity.npc that return VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfession
VillagerProfession.bootstrap
(Registry<VillagerProfession> p_398012_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397839_, ResourceKey<VillagerProfession> p_398003_, 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
(Registry<VillagerProfession> p_397833_, ResourceKey<VillagerProfession> p_219645_, Predicate<Holder<PoiType>> p_397690_, Predicate<Holder<PoiType>> p_397703_, SoundEvent p_219646_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397053_, ResourceKey<VillagerProfession> p_397031_, ResourceKey<PoiType> p_397291_, com.google.common.collect.ImmutableSet<Item> p_396998_, com.google.common.collect.ImmutableSet<Block> p_397508_, SoundEvent p_219657_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397878_, ResourceKey<VillagerProfession> p_219649_, ResourceKey<PoiType> p_397999_, SoundEvent p_219652_) Methods in net.minecraft.world.entity.npc that return types with arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static ResourceKey
<VillagerProfession> VillagerData.profession()
Returns the value of theprofession
record component.Method parameters in net.minecraft.world.entity.npc with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfession
VillagerProfession.bootstrap
(Registry<VillagerProfession> p_398012_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397839_, ResourceKey<VillagerProfession> p_398003_, 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
(Registry<VillagerProfession> p_397839_, ResourceKey<VillagerProfession> p_398003_, 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
(Registry<VillagerProfession> p_397833_, ResourceKey<VillagerProfession> p_219645_, Predicate<Holder<PoiType>> p_397690_, Predicate<Holder<PoiType>> p_397703_, SoundEvent p_219646_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397833_, ResourceKey<VillagerProfession> p_219645_, Predicate<Holder<PoiType>> p_397690_, Predicate<Holder<PoiType>> p_397703_, SoundEvent p_219646_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397053_, ResourceKey<VillagerProfession> p_397031_, ResourceKey<PoiType> p_397291_, com.google.common.collect.ImmutableSet<Item> p_396998_, com.google.common.collect.ImmutableSet<Block> p_397508_, SoundEvent p_219657_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397053_, ResourceKey<VillagerProfession> p_397031_, ResourceKey<PoiType> p_397291_, com.google.common.collect.ImmutableSet<Item> p_396998_, com.google.common.collect.ImmutableSet<Block> p_397508_, SoundEvent p_219657_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397878_, ResourceKey<VillagerProfession> p_219649_, ResourceKey<PoiType> p_397999_, SoundEvent p_219652_) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> p_397878_, ResourceKey<VillagerProfession> p_219649_, ResourceKey<PoiType> p_397999_, SoundEvent p_219652_) VillagerData.withProfession
(Holder<VillagerProfession> p_397154_) VillagerData.withProfession
(HolderGetter.Provider p_397368_, ResourceKey<VillagerProfession> p_396992_) -
Uses of VillagerProfession in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionprivate static final Map
<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTradingManager.VANILLA_TRADES
-
Uses of VillagerProfession in net.neoforged.neoforge.event.village
Fields in net.neoforged.neoforge.event.village with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionprotected ResourceKey
<VillagerProfession> VillagerTradesEvent.type
Methods in net.neoforged.neoforge.event.village that return types with arguments of type VillagerProfessionConstructor parameters in net.neoforged.neoforge.event.village with type arguments of type VillagerProfessionModifierConstructorDescriptionVillagerTradesEvent
(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, ResourceKey<VillagerProfession> type, HolderLookup.Provider registries) -
Uses of VillagerProfession in net.neoforged.neoforge.registries.datamaps.builtin
Fields in net.neoforged.neoforge.registries.datamaps.builtin with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final DataMapType
<VillagerProfession, RaidHeroGift> NeoForgeDataMaps.RAID_HERO_GIFTS
The VillagerProfession data map that replacesGiveGiftToHero.GIFTS
.
data map
instead