Uses of Record Class
net.minecraft.village.VillagerProfession
Packages that use VillagerProfession
Package
Description
-
Uses of VillagerProfession in net.minecraft.client.render.entity.feature
Fields in net.minecraft.client.render.entity.feature with type parameters of type VillagerProfession -
Uses of VillagerProfession in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionprivate static final Map<RegistryKey<VillagerProfession>, RegistryKey<LootTable>> GiveGiftsToHeroTask.GIFTSMethod parameters in net.minecraft.entity.ai.brain.task with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionstatic ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createCoreTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createHideTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createIdleTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createMeetTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createPanicTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createPreRaidTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createRaidTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createRestTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createWorkTasks(RegistryEntry<VillagerProfession> registryEntry, float speed) -
Uses of VillagerProfession in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final DefaultedRegistry<VillagerProfession> Registries.VILLAGER_PROFESSIONstatic final RegistryKey<Registry<VillagerProfession>> RegistryKeys.VILLAGER_PROFESSION -
Uses of VillagerProfession in net.minecraft.village
Fields in net.minecraft.village with type parameters of type VillagerProfessionModifier and TypeFieldDescriptionstatic final RegistryKey<VillagerProfession> VillagerProfession.ARMORERstatic final RegistryKey<VillagerProfession> VillagerProfession.BUTCHERstatic final RegistryKey<VillagerProfession> VillagerProfession.CARTOGRAPHERstatic final RegistryKey<VillagerProfession> VillagerProfession.CLERICstatic final RegistryKey<VillagerProfession> VillagerProfession.FARMERstatic final RegistryKey<VillagerProfession> VillagerProfession.FISHERMANstatic final RegistryKey<VillagerProfession> VillagerProfession.FLETCHERstatic final RegistryKey<VillagerProfession> VillagerProfession.LEATHERWORKERstatic final RegistryKey<VillagerProfession> VillagerProfession.LIBRARIANstatic final RegistryKey<VillagerProfession> VillagerProfession.MASONstatic final RegistryKey<VillagerProfession> VillagerProfession.NITWITstatic final RegistryKey<VillagerProfession> VillagerProfession.NONEprivate final RegistryEntry<VillagerProfession> VillagerData.professionThe field for theprofessionrecord component.static final Map<RegistryKey<VillagerProfession>, Int2ObjectMap<TradeOffers.Factory[]>> TradeOffers.PROFESSION_TO_LEVELED_TRADEstatic final Map<RegistryKey<VillagerProfession>, Int2ObjectMap<TradeOffers.Factory[]>> TradeOffers.REBALANCED_PROFESSION_TO_LEVELED_TRADEstatic final RegistryKey<VillagerProfession> VillagerProfession.SHEPHERDstatic final RegistryKey<VillagerProfession> VillagerProfession.TOOLSMITHstatic final RegistryKey<VillagerProfession> VillagerProfession.WEAPONSMITHMethods in net.minecraft.village that return VillagerProfessionModifier and TypeMethodDescriptionstatic VillagerProfessionVillagerProfession.method_66692(Registry<VillagerProfession> registry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, ImmutableSet<Item> secondaryJobSites, ImmutableSet<Block> immutableSet, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, ImmutableSet<Item> immutableSet, ImmutableSet<Block> immutableSet2, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, @Nullable SoundEvent soundEvent) Methods in net.minecraft.village that return types with arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static RegistryKey<VillagerProfession> VillagerProfession.method_66691(String string) VillagerData.profession()Returns the value of theprofessionrecord component.Method parameters in net.minecraft.village with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionVillagerData.method_66688(RegistryEntryLookup.RegistryLookup registryLookup, RegistryKey<VillagerProfession> registryKey) static VillagerProfessionVillagerProfession.method_66692(Registry<VillagerProfession> registry) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, ImmutableSet<Item> secondaryJobSites, ImmutableSet<Block> immutableSet, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, ImmutableSet<Item> secondaryJobSites, ImmutableSet<Block> immutableSet, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, Predicate<RegistryEntry<PointOfInterestType>> predicate, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, ImmutableSet<Item> immutableSet, ImmutableSet<Block> immutableSet2, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, ImmutableSet<Item> immutableSet, ImmutableSet<Block> immutableSet2, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, @Nullable SoundEvent soundEvent) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> registryKey, RegistryKey<PointOfInterestType> registryKey2, @Nullable SoundEvent soundEvent) VillagerData.withProfession(RegistryEntry<VillagerProfession> registryEntry)