Uses of Class
net.minecraft.entity.passive.VillagerEntity
Packages that use VillagerEntity
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of VillagerEntity in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type VillagerEntityModifier and TypeMethodDescriptionvoidCuredZombieVillagerCriterion.trigger(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager) -
Uses of VillagerEntity in net.minecraft.client.render.entity
Methods in net.minecraft.client.render.entity with parameters of type VillagerEntityModifier and TypeMethodDescriptionprotected voidVillagerEntityRenderer.method_4149(VillagerEntity villagerEntity, MatrixStack matrixStack, float float2) VillagerEntityRenderer.method_4151(VillagerEntity villagerEntity) -
Uses of VillagerEntity in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type VillagerEntity -
Uses of VillagerEntity in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type VillagerEntityModifier and TypeMethodDescriptionprotected voidSecondaryPointsOfInterestSensor.method_19617(ServerWorld serverWorld, VillagerEntity villagerEntity) -
Uses of VillagerEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task that return VillagerEntityModifier and TypeMethodDescriptionprivate static VillagerEntityWorkStationCompetitionTask.keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second) Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type VillagerEntityModifier and TypeMethodDescriptionprivate Optional<VillagerEntity>VillagerBreedTask.createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner) static 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.createPlayTasks(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) static Stream<VillagerEntity>LookTargetUtil.streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter) Methods in net.minecraft.entity.ai.brain.task with parameters of type VillagerEntityModifier and TypeMethodDescriptionprivate voidBoneMealTask.addLookWalkTargets(VillagerEntity villager) private booleanVillagerBreedTask.canReachHome(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType) private booleanTakeJobSiteTask.canReachJobSite(VillagerEntity villager, BlockPos pos, PointOfInterestType poiType) private booleanTakeJobSiteTask.canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) private voidTakeJobSiteTask.claimSite(ServerWorld world, VillagerEntity previousOwner, VillagerEntity newOwner, BlockPos pos, boolean jobSitePresent) private voidFarmerWorkTask.compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private voidFarmerWorkTask.craftAndDropBread(VillagerEntity entity) private Optional<VillagerEntity>VillagerBreedTask.createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner) private booleanVillagerWalkTowardsTask.exceedsMaxRange(VillagerEntity villager, GlobalPos pos) BoneMealTask.findBoneMealPos(ServerWorld world, VillagerEntity entity) private LivingEntityHoldTradeOffersTask.findPotentialCustomer(VillagerEntity villager) private voidTakeJobSiteTask.forgetJobSiteAndWalkTarget(VillagerEntity villager) GatherItemsVillagerTask.getGatherableItems(VillagerEntity villagerEntity, VillagerEntity villagerEntity2) GiveGiftsToHeroTask.getGifts(VillagerEntity villager) private Optional<PlayerEntity>GiveGiftsToHeroTask.getNearestPlayerIfHero(VillagerEntity villager) VillagerBreedTask.getReachableHome(ServerWorld world, VillagerEntity villager) private voidGiveGiftsToHeroTask.giveGifts(VillagerEntity villager, LivingEntity recipient) private static voidGatherItemsVillagerTask.giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target) private voidVillagerWalkTowardsTask.giveUp(VillagerEntity villager, long time) private voidVillagerBreedTask.goHome(ServerWorld world, VillagerEntity first, VillagerEntity second) private booleanWorkStationCompetitionTask.hasJobSite(VillagerEntity villager) private static voidHoldTradeOffersTask.holdNothing(VillagerEntity villager) private voidHoldTradeOffersTask.holdOffer(VillagerEntity villager) private static voidHoldTradeOffersTask.holdOffer(VillagerEntity villager, ItemStack stack) private booleanGiveGiftsToHeroTask.isCloseEnough(VillagerEntity villager, PlayerEntity player) private booleanGiveGiftsToHeroTask.isNearestPlayerHero(VillagerEntity villager) private booleanVillagerBreedTask.isReadyToBreed(VillagerEntity villager) private booleanWorkStationCompetitionTask.isUsingWorkStationAt(GlobalPos pos, RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager) private static VillagerEntityWorkStationCompetitionTask.keepJobSiteForMoreExperiencedVillager(VillagerEntity first, VillagerEntity second) private voidHoldTradeOffersTask.loadPossibleOffers(VillagerEntity villager) protected booleanFollowCustomerTask.method_18954(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanFollowCustomerTask.method_18955(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.method_18956(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.method_18957(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.method_18958(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerBreedTask.method_18973(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.method_18974(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.method_18975(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.method_18976(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGoToWorkTask.method_18987(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidGoToWorkTask.method_18988(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGatherItemsVillagerTask.method_19015(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGatherItemsVillagerTask.method_19016(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.method_19017(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.method_19018(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.method_19019(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerWalkTowardsTask.method_19509(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFarmerVillagerTask.method_19564(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidFarmerVillagerTask.method_19565(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerVillagerTask.method_19566(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerBreedTask.method_19571(ServerWorld serverWorld, VillagerEntity villagerEntity) booleanHoldTradeOffersTask.method_19599(ServerWorld serverWorld, VillagerEntity villagerEntity) booleanHoldTradeOffersTask.method_19600(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.method_19602(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.method_19604(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.method_19605(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGoToSecondaryPositionTask.method_19609(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidGoToSecondaryPositionTask.method_19610(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanCelebrateRaidWinTask.method_19951(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanCelebrateRaidWinTask.method_19952(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCelebrateRaidWinTask.method_19953(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCelebrateRaidWinTask.method_19954(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGiveGiftsToHeroTask.method_19962(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidGiveGiftsToHeroTask.method_19963(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGiveGiftsToHeroTask.method_19965(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.method_19967(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.method_19968(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerVillagerTask.method_20392(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFarmerVillagerTask.method_20394(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanLoseJobOnSiteLossTask.method_20449(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidLoseJobOnSiteLossTask.method_20450(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidStopPanickingTask.method_20645(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanPanicTask.method_20646(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPanicTask.method_20647(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPanicTask.method_20648(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGoToPointOfInterestTask.method_21636(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidGoToPointOfInterestTask.method_21637(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerWorkTask.method_21641(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidVillagerWorkTask.method_21642(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanBoneMealTask.method_26327(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanBoneMealTask.method_26328(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBoneMealTask.method_26330(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBoneMealTask.method_26331(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidBoneMealTask.method_26332(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerWorkTask.method_26336(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanWalkTowardJobSiteTask.method_29251(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidWalkTowardJobSiteTask.method_29252(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWorkStationCompetitionTask.method_29258(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanTakeJobSiteTask.method_29264(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidTakeJobSiteTask.method_29265(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanWalkTowardJobSiteTask.method_29523(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTowardJobSiteTask.method_29525(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerWorkTask.performAdditionalWork(ServerWorld world, VillagerEntity entity) protected voidVillagerWorkTask.performAdditionalWork(ServerWorld world, VillagerEntity entity) private booleanVillagerWalkTowardsTask.reachedDestination(ServerWorld world, VillagerEntity villager, GlobalPos pos) private voidHoldTradeOffersTask.refreshShownOffer(VillagerEntity villager) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) private voidHoldTradeOffersTask.setupOffers(LivingEntity customer, VillagerEntity villager) private booleanVillagerWalkTowardsTask.shouldGiveUp(ServerWorld world, VillagerEntity villager) static Stream<VillagerEntity>LookTargetUtil.streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter) private voidFollowCustomerTask.update(VillagerEntity villager) private static booleanStopPanickingTask.wasHurtByNearbyEntity(VillagerEntity entity) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type VillagerEntityModifier and TypeMethodDescriptionstatic Stream<VillagerEntity>LookTargetUtil.streamSeenVillagers(VillagerEntity villager, Predicate<VillagerEntity> filter) -
Uses of VillagerEntity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as VillagerEntityMethods in net.minecraft.entity.ai.goal with parameters of type VillagerEntityModifier and TypeMethodDescriptionprivate booleanIronGolemWanderAroundGoal.canVillagerSummonGolem(VillagerEntity villager) -
Uses of VillagerEntity in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type VillagerEntityModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTERESTprivate static final ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>VillagerEntity.SENSORSMethods in net.minecraft.entity.passive that return VillagerEntityModifier and TypeMethodDescriptionVillagerEntity.method_7225(ServerWorld serverWorld, PassiveEntity passiveEntity) Methods in net.minecraft.entity.passive that return types with arguments of type VillagerEntityModifier and TypeMethodDescriptionprotected Brain.Profile<VillagerEntity>VillagerEntity.createBrainProfile()VillagerEntity.getBrain()Methods in net.minecraft.entity.passive with parameters of type VillagerEntityModifier and TypeMethodDescriptionvoidVillagerEntity.talkWithVillager(ServerWorld world, VillagerEntity villager, long time) Method parameters in net.minecraft.entity.passive with type arguments of type VillagerEntityModifier and TypeMethodDescriptionprivate voidVillagerEntity.initBrain(Brain<VillagerEntity> brain) Constructor parameters in net.minecraft.entity.passive with type arguments of type VillagerEntityModifierConstructorDescriptionVillagerEntity(EntityType<? extends VillagerEntity> type, World world) VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type)