Uses of Class
net.minecraft.world.entity.npc.Villager
Packages that use Villager
Package
Description
-
Uses of Villager in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type VillagerModifier and TypeMethodDescriptionvoidCuredZombieVillagerTrigger.trigger(ServerPlayer p_24275_, Zombie p_24276_, Villager p_24277_) -
Uses of Villager in net.minecraft.client.renderer.entity
Methods in net.minecraft.client.renderer.entity with parameters of type VillagerModifier and TypeMethodDescriptionprotected floatVillagerRenderer.getShadowRadius(Villager p_316668_) VillagerRenderer.getTextureLocation(Villager p_116312_) protected void -
Uses of Villager in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type Villager -
Uses of Villager in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return VillagerModifier and TypeMethodDescriptionprivate static VillagerPoiCompetitorScan.selectWinner(Villager p_23725_, Villager p_23726_) Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type VillagerModifier and TypeMethodDescriptionVillagerMakeLove.breed(ServerLevel p_24656_, Villager p_24657_, Villager p_24658_) static BehaviorControl<Villager> AssignProfessionFromJobSite.create()static BehaviorControl<Villager> GoToClosestVillage.create(float p_260342_, int p_259691_) static BehaviorControl<Villager> PoiCompetitorScan.create()static BehaviorControl<Villager> ResetProfession.create()SetWalkTargetFromBlockMemory.create(MemoryModuleType<GlobalPos> p_259685_, float p_259842_, int p_259530_, int p_260360_, int p_259504_) static BehaviorControl<Villager> StrollToPoiList.create(MemoryModuleType<List<GlobalPos>> p_259573_, float p_259895_, int p_260285_, int p_259533_, MemoryModuleType<GlobalPos> p_259706_) static BehaviorControl<Villager> YieldJobSite.create(float p_259768_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(VillagerProfession p_24586_, float p_24587_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(VillagerProfession p_24611_, float p_24612_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(VillagerProfession p_24599_, float p_24600_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(VillagerProfession p_24596_, float p_24597_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(VillagerProfession p_24602_, float p_24603_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPlayPackage(float p_24584_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(VillagerProfession p_24605_, float p_24606_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(VillagerProfession p_24608_, float p_24609_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(VillagerProfession p_24593_, float p_24594_) static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(VillagerProfession p_24590_, float p_24591_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type VillagerModifier and TypeMethodDescriptionVillagerMakeLove.breed(ServerLevel p_24656_, Villager p_24657_, Villager p_24658_) private booleanprotected booleanCelebrateVillagersSurvivedRaid.canStillUse(ServerLevel p_22693_, Villager p_22694_, long p_22695_) protected booleanGiveGiftToHero.canStillUse(ServerLevel p_23026_, Villager p_23027_, long p_23028_) protected booleanGoToPotentialJobSite.canStillUse(ServerLevel p_23106_, Villager p_23107_, long p_23108_) protected booleanHarvestFarmland.canStillUse(ServerLevel p_23204_, Villager p_23205_, long p_23206_) protected booleanLookAndFollowTradingPlayerSink.canStillUse(ServerLevel p_23448_, Villager p_23449_, long p_23450_) booleanShowTradesToPlayer.canStillUse(ServerLevel p_24109_, Villager p_24110_, long p_24111_) protected booleanTradeWithVillager.canStillUse(ServerLevel p_24419_, Villager p_24420_, long p_24421_) protected booleanUseBonemeal.canStillUse(ServerLevel p_24477_, Villager p_24478_, long p_24479_) protected booleanVillagerMakeLove.canStillUse(ServerLevel p_24626_, Villager p_24627_, long p_24628_) protected booleanVillagerPanicTrigger.canStillUse(ServerLevel p_24684_, Villager p_24685_, long p_24686_) protected booleanWorkAtPoi.canStillUse(ServerLevel p_24830_, Villager p_24831_, long p_24832_) protected booleanCelebrateVillagersSurvivedRaid.checkExtraStartConditions(ServerLevel p_22690_, Villager p_22691_) protected booleanGiveGiftToHero.checkExtraStartConditions(ServerLevel p_23003_, Villager p_23004_) protected booleanGoToPotentialJobSite.checkExtraStartConditions(ServerLevel p_23103_, Villager p_23104_) protected booleanHarvestFarmland.checkExtraStartConditions(ServerLevel p_23174_, Villager p_23175_) protected booleanLookAndFollowTradingPlayerSink.checkExtraStartConditions(ServerLevel p_23445_, Villager p_23446_) booleanShowTradesToPlayer.checkExtraStartConditions(ServerLevel p_24106_, Villager p_24107_) protected booleanTradeWithVillager.checkExtraStartConditions(ServerLevel p_24416_, Villager p_24417_) protected booleanUseBonemeal.checkExtraStartConditions(ServerLevel p_24474_, Villager p_24475_) protected booleanVillagerMakeLove.checkExtraStartConditions(ServerLevel p_24623_, Villager p_24624_) protected booleanWorkAtPoi.checkExtraStartConditions(ServerLevel p_24827_, Villager p_24828_) private static voidShowTradesToPlayer.clearHeldItem(Villager p_182374_) private static booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private voidWorkAtComposter.compostItems(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) private static voidShowTradesToPlayer.displayAsHeldItem(Villager p_182371_, ItemStack p_182372_) private voidShowTradesToPlayer.displayCyclingItems(Villager p_24148_) private voidShowTradesToPlayer.displayFirstItem(Villager p_24116_) TradeWithVillager.figureOutWhatIAmWillingToTrade(Villager p_24423_, Villager p_24424_) private voidShowTradesToPlayer.findItemsToDisplay(LivingEntity p_24113_, Villager p_24114_) private voidLookAndFollowTradingPlayerSink.followPlayer(Villager p_23452_) GiveGiftToHero.getItemToThrow(Villager p_23010_) GiveGiftToHero.getNearestTargetableHero(Villager p_23040_) private voidVillagerMakeLove.giveBedToChild(ServerLevel p_24634_, Villager p_24635_, BlockPos p_24636_) private booleanVillagerMakeLove.isBreedingPossible(Villager p_24640_) private booleanGiveGiftToHero.isHeroVisible(Villager p_23030_) private booleanGiveGiftToHero.isWithinThrowingDistance(Villager p_23015_, Player p_23016_) private LivingEntityShowTradesToPlayer.lookAtTarget(Villager p_24138_) private voidprivate static booleanYieldJobSite.nearbyWantsJobsite(Holder<PoiType> p_217511_, Villager p_217512_, BlockPos p_217513_) UseBonemeal.pickNextTarget(ServerLevel p_24493_, Villager p_24494_) private static VillagerPoiCompetitorScan.selectWinner(Villager p_23725_, Villager p_23726_) private voidUseBonemeal.setCurrentCropAsTarget(Villager p_24481_) protected voidGiveGiftToHero.start(ServerLevel p_23006_, Villager p_23007_, long p_23008_) protected voidHarvestFarmland.start(ServerLevel p_23177_, Villager p_23178_, long p_23179_) protected voidLookAndFollowTradingPlayerSink.start(ServerLevel p_23458_, Villager p_23459_, long p_23460_) voidShowTradesToPlayer.start(ServerLevel p_24124_, Villager p_24125_, long p_24126_) protected voidTradeWithVillager.start(ServerLevel p_24437_, Villager p_24438_, long p_24439_) protected voidUseBonemeal.start(ServerLevel p_24496_, Villager p_24497_, long p_24498_) protected voidVillagerMakeLove.start(ServerLevel p_24652_, Villager p_24653_, long p_24654_) protected voidVillagerPanicTrigger.start(ServerLevel p_24694_, Villager p_24695_, long p_24696_) protected voidWorkAtPoi.start(ServerLevel p_24816_, Villager p_24817_, long p_24818_) protected voidCelebrateVillagersSurvivedRaid.stop(ServerLevel p_22704_, Villager p_22705_, long p_22706_) protected voidGiveGiftToHero.stop(ServerLevel p_23046_, Villager p_23047_, long p_23048_) protected voidGoToPotentialJobSite.stop(ServerLevel p_23129_, Villager p_23130_, long p_23131_) protected voidHarvestFarmland.stop(ServerLevel p_23188_, Villager p_23189_, long p_23190_) protected voidLookAndFollowTradingPlayerSink.stop(ServerLevel p_23466_, Villager p_23467_, long p_23468_) voidShowTradesToPlayer.stop(ServerLevel p_24144_, Villager p_24145_, long p_24146_) protected voidTradeWithVillager.stop(ServerLevel p_24453_, Villager p_24454_, long p_24455_) protected voidUseBonemeal.stop(ServerLevel p_24504_, Villager p_24505_, long p_24506_) protected voidVillagerMakeLove.stop(ServerLevel p_24675_, Villager p_24676_, long p_24677_) VillagerMakeLove.takeVacantBed(ServerLevel p_24649_, Villager p_24650_) private voidGiveGiftToHero.throwGift(Villager p_23012_, LivingEntity p_23013_) private static voidTradeWithVillager.throwHalfStack(Villager p_24426_, Set<Item> p_24427_, LivingEntity p_24428_) protected voidCelebrateVillagersSurvivedRaid.tick(ServerLevel p_22712_, Villager p_22713_, long p_22714_) protected voidGiveGiftToHero.tick(ServerLevel p_23036_, Villager p_23037_, long p_23038_) protected voidGoToPotentialJobSite.tick(ServerLevel p_23121_, Villager p_23122_, long p_23123_) protected voidHarvestFarmland.tick(ServerLevel p_23196_, Villager p_23197_, long p_23198_) protected voidLookAndFollowTradingPlayerSink.tick(ServerLevel p_23474_, Villager p_23475_, long p_23476_) voidShowTradesToPlayer.tick(ServerLevel p_24134_, Villager p_24135_, long p_24136_) protected voidTradeWithVillager.tick(ServerLevel p_24445_, Villager p_24446_, long p_24447_) protected voidUseBonemeal.tick(ServerLevel p_24512_, Villager p_24513_, long p_24514_) protected voidVillagerMakeLove.tick(ServerLevel p_24667_, Villager p_24668_, long p_24669_) protected voidVillagerPanicTrigger.tick(ServerLevel p_24700_, Villager p_24701_, long p_24702_) private voidVillagerMakeLove.tryToGiveBirth(ServerLevel p_24630_, Villager p_24631_, Villager p_24632_) private voidShowTradesToPlayer.updateDisplayItems(Villager p_24128_) protected voidWorkAtComposter.useWorkstation(ServerLevel p_24790_, Villager p_24791_) protected voidWorkAtPoi.useWorkstation(ServerLevel p_24813_, Villager p_24814_) -
Uses of Villager in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as VillagerMethods in net.minecraft.world.entity.ai.goal with parameters of type VillagerModifier and TypeMethodDescriptionprivate booleanGolemRandomStrollInVillageGoal.doesVillagerWantGolem(Villager p_25406_) -
Uses of Villager in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing with parameters of type VillagerModifier and TypeMethodDescriptionprotected voidSecondaryPoiSensor.doTick(ServerLevel p_26754_, Villager p_26755_) -
Uses of Villager in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type VillagerModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>, BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIESprivate static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Villager>>> Villager.SENSOR_TYPESMethods in net.minecraft.world.entity.npc that return VillagerModifier and TypeMethodDescriptionVillager.getBreedOffspring(ServerLevel p_150012_, AgeableMob p_150013_) Methods in net.minecraft.world.entity.npc that return types with arguments of type VillagerModifier and TypeMethodDescriptionprotected Brain.Provider<Villager> Villager.brainProvider()Villager.getBrain()Methods in net.minecraft.world.entity.npc with parameters of type VillagerModifier and TypeMethodDescriptionvoidVillager.gossip(ServerLevel p_35412_, Villager p_35413_, long p_35414_) Method parameters in net.minecraft.world.entity.npc with type arguments of type VillagerModifier and TypeMethodDescriptionprivate voidVillager.registerBrainGoals(Brain<Villager> p_35425_) Constructor parameters in net.minecraft.world.entity.npc with type arguments of type VillagerModifierConstructorDescriptionVillager(EntityType<? extends Villager> p_35381_, Level p_35382_) Villager(EntityType<? extends Villager> p_35384_, Level p_35385_, VillagerType p_35386_)