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> profession, float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<VillagerProfession> profession, float speedModifier) -
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 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 ResourceKey<VillagerProfession> VillagerProfession.WEAPONSMITHMethods in net.minecraft.world.entity.npc.villager that return VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfessionVillagerProfession.bootstrap(Registry<VillagerProfession> registry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) 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> registry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, ResourceKey<PoiType> jobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) VillagerData.withProfession(Holder<VillagerProfession> profession) VillagerData.withProfession(HolderGetter.Provider registries, ResourceKey<VillagerProfession> profession) -
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