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 com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(VillagerProfession profession, float speedModifier) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(VillagerProfession profession, float speedModifier) private static booleanPoiCompetitorScan.hasMatchingProfession(Holder<PoiType> poi, VillagerProfession poiType) -
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 name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSites, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSites, SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String name, ResourceKey<PoiType> jobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(String name, ResourceKey<PoiType> jobSite, SoundEvent workSound) Methods in net.minecraft.world.entity.npc with parameters of type VillagerProfessionConstructors in net.minecraft.world.entity.npc with parameters of type VillagerProfessionModifierConstructorDescriptionVillagerData(VillagerType type, VillagerProfession profession, int level) -
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