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> profession, 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> profession, 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 TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) static VillagerProfessionVillagerProfession.registerAndGetDefault(Registry<VillagerProfession> registry) Methods in net.minecraft.village that return types with arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static RegistryKey<VillagerProfession> VillagerData.profession()Returns the value of theprofessionrecord component.Method parameters in net.minecraft.village with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) static VillagerProfessionVillagerProfession.registerAndGetDefault(Registry<VillagerProfession> registry) VillagerData.withProfession(RegistryEntry<VillagerProfession> profession) VillagerData.withProfession(RegistryEntryLookup.RegistryLookup registries, RegistryKey<VillagerProfession> professionKey)