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<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<VillagerProfession, ResourceKey<LootTable>> GiveGiftToHero.GIFTSDeprecated.Methods in net.minecraft.world.entity.ai.behavior with parameters of type VillagerProfessionModifier and TypeMethodDescriptionstatic ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(VillagerProfession pProfession, float pSpeedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(VillagerProfession pProfession, float pSpeedModifier) private static booleanPoiCompetitorScan.hasMatchingProfession(Holder<PoiType> pPoi, VillagerProfession pPoiType) -
Uses of VillagerProfession in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as VillagerProfessionModifier and TypeFieldDescriptionstatic final VillagerProfessionVillagerProfession.ARMORERstatic final VillagerProfessionVillagerProfession.BUTCHERstatic final VillagerProfessionVillagerProfession.CARTOGRAPHERstatic final VillagerProfessionVillagerProfession.CLERICstatic final VillagerProfessionVillagerProfession.FARMERstatic final VillagerProfessionVillagerProfession.FISHERMANstatic final VillagerProfessionVillagerProfession.FLETCHERstatic final VillagerProfessionVillagerProfession.LEATHERWORKERstatic final VillagerProfessionVillagerProfession.LIBRARIANstatic final VillagerProfessionVillagerProfession.MASONstatic final VillagerProfessionVillagerProfession.NITWITstatic final VillagerProfessionVillagerProfession.NONEprivate final VillagerProfessionVillagerData.professionstatic final VillagerProfessionVillagerProfession.SHEPHERDstatic final VillagerProfessionVillagerProfession.TOOLSMITHstatic final VillagerProfessionVillagerProfession.WEAPONSMITHFields in net.minecraft.world.entity.npc with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final Map<VillagerProfession, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.EXPERIMENTAL_TRADESstatic final Map<VillagerProfession, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VillagerTrades.TRADESMethods in net.minecraft.world.entity.npc that return VillagerProfessionModifier and TypeMethodDescriptionVillagerData.getProfession()private static VillagerProfessionVillagerProfession.register(String pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSites, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(String pName, Predicate<Holder<PoiType>> pHeldJobSite, Predicate<Holder<PoiType>> pAcquirableJobSites, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(String pName, ResourceKey<PoiType> pJobSite, ImmutableSet<Item> pRequestedItems, ImmutableSet<Block> pSecondaryPoi, SoundEvent pWorkSound) private static VillagerProfessionVillagerProfession.register(String pName, ResourceKey<PoiType> pJobSite, SoundEvent pWorkSound) Methods in net.minecraft.world.entity.npc with parameters of type VillagerProfessionConstructors in net.minecraft.world.entity.npc with parameters of type VillagerProfessionModifierConstructorDescriptionVillagerData(VillagerType p_35557_, VillagerProfession p_35558_, int p_35559_) -
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<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 declared as VillagerProfessionMethods in net.neoforged.neoforge.event.village that return VillagerProfessionConstructors in net.neoforged.neoforge.event.village with parameters of type VillagerProfessionModifierConstructorDescriptionVillagerTradesEvent(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, VillagerProfession type) Deprecated, for removal: This API element is subject to removal in a future version.VillagerTradesEvent(it.unimi.dsi.fastutil.ints.Int2ObjectMap<List<VillagerTrades.ItemListing>> trades, VillagerProfession type, RegistryAccess registryAccess) -
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