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 TypeMethodDescriptionVillagerEntityRenderer.getTexture(VillagerEntity villagerEntity) protected voidVillagerEntityRenderer.scale(VillagerEntity villagerEntity, MatrixStack matrixStack, float float2) -
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.sense(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) protected voidBoneMealTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCelebrateRaidWinTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerVillagerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTowardJobSiteTask.finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) 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) protected voidBoneMealTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidCelebrateRaidWinTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerVillagerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPanicTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWalkTowardJobSiteTask.keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) private voidHoldTradeOffersTask.loadPossibleOffers(VillagerEntity villager) 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) protected voidBoneMealTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFarmerVillagerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidFollowCustomerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGatherItemsVillagerTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGiveGiftsToHeroTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGoToPointOfInterestTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGoToSecondaryPositionTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidGoToWorkTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) voidHoldTradeOffersTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidLoseJobOnSiteLossTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPanicTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidStopPanickingTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidTakeJobSiteTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerWalkTowardsTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerWorkTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidWorkStationCompetitionTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) private voidHoldTradeOffersTask.setupOffers(LivingEntity customer, VillagerEntity villager) private booleanVillagerWalkTowardsTask.shouldGiveUp(ServerWorld world, VillagerEntity villager) protected booleanBoneMealTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanCelebrateRaidWinTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFarmerVillagerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanFollowCustomerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGatherItemsVillagerTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanGiveGiftsToHeroTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) booleanHoldTradeOffersTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanPanicTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerBreedTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanVillagerWorkTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanWalkTowardJobSiteTask.shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanBoneMealTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanCelebrateRaidWinTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanFarmerVillagerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanFollowCustomerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGatherItemsVillagerTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGiveGiftsToHeroTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGoToPointOfInterestTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGoToSecondaryPositionTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanGoToWorkTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) booleanHoldTradeOffersTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanLoseJobOnSiteLossTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanTakeJobSiteTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanVillagerBreedTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanVillagerWorkTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) protected booleanWalkTowardJobSiteTask.shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity) 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.createChild(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)