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 floatVillagerEntityRenderer.getShadowRadius(VillagerEntity villagerEntity) VillagerEntityRenderer.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 TypeMethodDescriptionstatic Task<VillagerEntity> GoToPointOfInterestTask.create(float speed, int completionRange) static Task<VillagerEntity> GoToSecondaryPositionTask.create(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition) static Task<VillagerEntity> GoToWorkTask.create()static Task<VillagerEntity> LoseJobOnSiteLossTask.create()static Task<VillagerEntity> TakeJobSiteTask.create(float speed) static SingleTickTask<VillagerEntity> VillagerWalkTowardsTask.create(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxDistance, int maxRunTime) static Task<VillagerEntity> WorkStationCompetitionTask.create()private 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) 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 static booleanTakeJobSiteTask.canUseJobSite(RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager, BlockPos pos) 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) 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) GatherItemsVillagerTask.getGatherableItems(VillagerEntity entity, VillagerEntity target) 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 voidVillagerBreedTask.goHome(ServerWorld world, VillagerEntity first, VillagerEntity second) 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 static 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 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) voidHoldTradeOffersTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidPanicTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerBreedTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidVillagerWorkTask.run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) private voidVillagerBreedTask.setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos) private voidHoldTradeOffersTask.setupOffers(LivingEntity customer, 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) booleanHoldTradeOffersTask.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) private voidFollowCustomerTask.update(VillagerEntity villager) -
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)