Uses of Record Class
net.minecraft.village.VillagerProfession
Package
Description
-
Uses of VillagerProfession in net.minecraft.client.render.entity.feature
Modifier and TypeFieldDescriptionprivate final Object2ObjectMap<VillagerProfession,
VillagerResourceMetadata.HatType> VillagerClothingFeatureRenderer.professionToHat
-
Uses of VillagerProfession in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
Identifier> GiveGiftsToHeroTask.GIFTS
Modifier and TypeMethodDescriptionstatic ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createCoreTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createHideTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createIdleTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createMeetTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createPanicTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createPreRaidTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createRaidTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createRestTasks
(VillagerProfession profession, float speed) static ImmutableList<com.mojang.datafixers.util.Pair<Integer,
? extends Task<? super VillagerEntity>>> VillagerTaskListProvider.createWorkTasks
(VillagerProfession profession, float speed) private static boolean
WorkStationCompetitionTask.isCompletedWorkStation
(RegistryEntry<PointOfInterestType> poiType, VillagerProfession profession) -
Uses of VillagerProfession in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<VillagerProfession>
Registries.VILLAGER_PROFESSION
static final RegistryKey<Registry<VillagerProfession>>
RegistryKeys.VILLAGER_PROFESSION
-
Uses of VillagerProfession in net.minecraft.village
Modifier and TypeFieldDescriptionstatic final VillagerProfession
VillagerProfession.ARMORER
static final VillagerProfession
VillagerProfession.BUTCHER
static final VillagerProfession
VillagerProfession.CARTOGRAPHER
static final VillagerProfession
VillagerProfession.CLERIC
static final VillagerProfession
VillagerProfession.FARMER
static final VillagerProfession
VillagerProfession.FISHERMAN
static final VillagerProfession
VillagerProfession.FLETCHER
static final VillagerProfession
VillagerProfession.LEATHERWORKER
static final VillagerProfession
VillagerProfession.LIBRARIAN
static final VillagerProfession
VillagerProfession.MASON
static final VillagerProfession
VillagerProfession.NITWIT
static final VillagerProfession
VillagerProfession.NONE
private final VillagerProfession
VillagerData.profession
static final VillagerProfession
VillagerProfession.SHEPHERD
static final VillagerProfession
VillagerProfession.TOOLSMITH
static final VillagerProfession
VillagerProfession.WEAPONSMITH
Modifier and TypeFieldDescriptionstatic final Map<VillagerProfession,
Int2ObjectMap<TradeOffers.Factory[]>> TradeOffers.PROFESSION_TO_LEVELED_TRADE
Modifier and TypeMethodDescriptionVillagerData.getProfession()
private static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, Predicate<RegistryEntry<PointOfInterestType>> heldWorkstation, Predicate<RegistryEntry<PointOfInterestType>> acquirableWorkstation, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, RegistryKey<PointOfInterestType> heldWorkstation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound) private static VillagerProfession
VillagerProfession.register
(String id, RegistryKey<PointOfInterestType> heldWorkstation, @Nullable SoundEvent workSound) ModifierConstructorDescriptionVillagerData
(VillagerType type, VillagerProfession profession, int level)