Uses of Record Class
net.minecraft.world.entity.npc.villager.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_PROFESSIONstatic 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.GIFTSDeprecated.Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionstatic ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<VillagerProfession> pProfession, float pSpeedModifier) -
Uses of VillagerProfession in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final ResourceKey<VillagerProfession> VillagerProfession.ARMORERstatic final ResourceKey<VillagerProfession> VillagerProfession.BUTCHERstatic final ResourceKey<VillagerProfession> VillagerProfession.CARTOGRAPHERstatic final ResourceKey<VillagerProfession> VillagerProfession.CLERICstatic final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.EXPERIMENTAL_TRADESstatic final ResourceKey<VillagerProfession> VillagerProfession.FARMERstatic final ResourceKey<VillagerProfession> VillagerProfession.FISHERMANstatic final ResourceKey<VillagerProfession> VillagerProfession.FLETCHERstatic final ResourceKey<VillagerProfession> VillagerProfession.LEATHERWORKERstatic final ResourceKey<VillagerProfession> VillagerProfession.LIBRARIANstatic final ResourceKey<VillagerProfession> VillagerProfession.MASONstatic final ResourceKey<VillagerProfession> VillagerProfession.NITWITstatic final ResourceKey<VillagerProfession> VillagerProfession.NONEprivate final Holder<VillagerProfession> VillagerData.professionThe field for theprofessionrecord component.static final ResourceKey<VillagerProfession> VillagerProfession.SHEPHERDstatic final ResourceKey<VillagerProfession> VillagerProfession.TOOLSMITHstatic final Map<ResourceKey<VillagerProfession>, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.TRADESstatic final ResourceKey<VillagerProfession> VillagerProfession.WEAPONSMITHMethods in net.minecraft.world.entity.npc.villager that return VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfessionVillagerProfession.bootstrap(Registry<VillagerProfession> pRegistry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, @Nullable SoundEvent pWorkSound) Methods in net.minecraft.world.entity.npc.villager that return types with arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static ResourceKey<VillagerProfession> VillagerData.profession()Returns the value of theprofessionrecord component.Method parameters in net.minecraft.world.entity.npc.villager with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfessionVillagerProfession.bootstrap(Registry<VillagerProfession> pRegistry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSite, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, @Nullable SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> pRegistry, ResourceKey<VillagerProfession> pKey, ResourceKey<PoiType> pJobSite, @Nullable SoundEvent pWorkSound) VillagerData.withProfession(Holder<VillagerProfession> pProfession) VillagerData.withProfession(HolderGetter.Provider pRegistries, ResourceKey<VillagerProfession> pProfession) -
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.typeMethods 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_GIFTSThe VillagerProfession data map that replacesGiveGiftToHero.GIFTS.
data mapinstead