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.GIFTS
Method 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_PROFESSION
static 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.ARMORER
static final RegistryKey
<VillagerProfession> VillagerProfession.BUTCHER
static final RegistryKey
<VillagerProfession> VillagerProfession.CARTOGRAPHER
static final RegistryKey
<VillagerProfession> VillagerProfession.CLERIC
static final RegistryKey
<VillagerProfession> VillagerProfession.FARMER
static final RegistryKey
<VillagerProfession> VillagerProfession.FISHERMAN
static final RegistryKey
<VillagerProfession> VillagerProfession.FLETCHER
static final RegistryKey
<VillagerProfession> VillagerProfession.LEATHERWORKER
static final RegistryKey
<VillagerProfession> VillagerProfession.LIBRARIAN
static final RegistryKey
<VillagerProfession> VillagerProfession.MASON
static final RegistryKey
<VillagerProfession> VillagerProfession.NITWIT
static final RegistryKey
<VillagerProfession> VillagerProfession.NONE
private final RegistryEntry
<VillagerProfession> VillagerData.profession
The field for theprofession
record component.static final Map
<RegistryKey<VillagerProfession>, Int2ObjectMap<TradeOffers.Factory[]>> TradeOffers.PROFESSION_TO_LEVELED_TRADE
static final Map
<RegistryKey<VillagerProfession>, Int2ObjectMap<TradeOffers.Factory[]>> TradeOffers.REBALANCED_PROFESSION_TO_LEVELED_TRADE
static final RegistryKey
<VillagerProfession> VillagerProfession.SHEPHERD
static final RegistryKey
<VillagerProfession> VillagerProfession.TOOLSMITH
static final RegistryKey
<VillagerProfession> VillagerProfession.WEAPONSMITH
Methods in net.minecraft.village that return VillagerProfessionModifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.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 VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) static VillagerProfession
VillagerProfession.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 theprofession
record component.Method parameters in net.minecraft.village with type arguments of type VillagerProfessionModifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.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 VillagerProfession
VillagerProfession.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 VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(Registry<VillagerProfession> registry, RegistryKey<VillagerProfession> key, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) static VillagerProfession
VillagerProfession.registerAndGetDefault
(Registry<VillagerProfession> registry) VillagerData.withProfession
(RegistryEntry<VillagerProfession> profession) VillagerData.withProfession
(RegistryEntryLookup.RegistryLookup registries, RegistryKey<VillagerProfession> professionKey)