Uses of Class
net.minecraft.entity.mob.PathAwareEntity
Packages that use PathAwareEntity
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of PathAwareEntity in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai with parameters of type PathAwareEntityModifier and TypeMethodDescriptionAboveGroundTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid) FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange) Paths to a random reachable position with positive path-finding favorability.FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer) Paths to a random reachable position with positive path-finding favorability computed by a given function.NoPenaltySolidTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle) NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange) Paths to a random reachable position with no penalty.NoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange) FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a random reachable position leading away from a given starting point.NoPenaltyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) Paths to a position leading away from a given starting point.FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end) Paths to a random reachable position leading towards a given end-point.NoPenaltyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange) Paths to a position leading towards a given end-point.FuzzyTargeting.findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange) FuzzyPositions.guessBestPathTarget(PathAwareEntity entity, Supplier<BlockPos> factory) CallsFuzzyPositions.guessBest(Supplier, ToDoubleFunction)with theentity's path finding favor as thescorer.static booleanNavigationConditions.hasPathfindingPenalty(PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isHeightInvalid(BlockPos pos, PathAwareEntity entity) static booleanNavigationConditions.isPositionTargetInRange(PathAwareEntity entity, int extraDistance) static booleanNavigationConditions.isPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isSolidAt(PathAwareEntity entity, BlockPos pos) static booleanNavigationConditions.isWaterAt(PathAwareEntity entity, BlockPos pos) static BlockPosFuzzyPositions.towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz) FuzzyTargeting.towardTarget(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos) Paths to a random reachable position approaching an entity's chosenposition target.NoPenaltySolidTargeting.tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle, boolean posTargetInRange) NoPenaltyTargeting.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz) FuzzyTargeting.validate(PathAwareEntity entity, BlockPos pos) Checks whether a given position is a valid pathable target. -
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type PathAwareEntityModifier and TypeMethodDescriptionprotected voidTemptationsSensor.sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) -
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.task
Classes in net.minecraft.entity.ai.brain.task with type parameters of type PathAwareEntityModifier and TypeClassDescriptionclassPrepareRamTask<E extends PathAwareEntity>The task where an entity finds a target, a place to start its ram, and wait to start its ram.Methods in net.minecraft.entity.ai.brain.task with parameters of type PathAwareEntityModifier and TypeMethodDescriptionprivate booleanPrepareRamTask.canReach(PathAwareEntity entity, BlockPos target) LookTargetUtil.find(PathAwareEntity entity, int horizontalRange, int verticalRange) private voidPrepareRamTask.findRam(PathAwareEntity entity, LivingEntity target) PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target) WalkTask.findTarget(PathAwareEntity entity, ServerWorld world) AquaticStrollTask.findWalkTarget(PathAwareEntity entity) protected Vec3dNoPenaltyStrollTask.findWalkTarget(PathAwareEntity entity) StrollTask.findWalkTarget(PathAwareEntity entity) protected voidSeekWaterTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidTemptTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardsLandTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardsWaterTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) private Map<LivingEntity,Integer> PlayWithVillagerBabiesTask.getBabyInteractionTargetCounts(PathAwareEntity entity) private Optional<LivingEntity>PlayWithVillagerBabiesTask.getLeastPopularBabyInteractionTarget(PathAwareEntity entity) private Vec3dGoToRememberedPositionTask.getPos(PathAwareEntity entity) protected floatTemptTask.getSpeed(PathAwareEntity entity) private Optional<PlayerEntity>TemptTask.getTemptingPlayer(PathAwareEntity entity) private Optional<LivingEntity>PlayWithVillagerBabiesTask.getVisibleMob(PathAwareEntity entity) private List<LivingEntity>PlayWithVillagerBabiesTask.getVisibleVillagerBabies(PathAwareEntity entity) private booleanPlayWithVillagerBabiesTask.hasVisibleVillagerBabies(PathAwareEntity entity) private booleanGoToRememberedPositionTask.isWalkTargetPresentAndFar(PathAwareEntity entity) protected voidTemptTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidFindPointOfInterestTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidFindWalkTargetTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidGoToIfNearbyTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidGoToNearbyPositionTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidGoToRememberedPositionTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidPlayWithVillagerBabiesTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidPrepareRamTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidSeekWaterTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidStrollTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidTemptTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardsLandTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWalkTowardsWaterTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected voidWanderIndoorsTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) private voidPlayWithVillagerBabiesTask.setGroundTarget(ServerWorld world, PathAwareEntity entity, LivingEntity unusedBaby) private static voidPlayWithVillagerBabiesTask.setPlayTarget(PathAwareEntity entity, LivingEntity target) private static voidGoToRememberedPositionTask.setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed) protected booleanPrepareRamTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanTemptTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanWalkTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2) protected booleanAquaticStrollTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanFindPointOfInterestTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanGoToIfNearbyTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanGoToNearbyPositionTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanGoToRememberedPositionTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanPlayWithVillagerBabiesTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanRunAroundAfterRaidTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanSeekWaterTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanStrollTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanWalkTowardsLandTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanWalkTowardsWaterTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) protected booleanWanderIndoorsTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity) private voidFindWalkTargetTask.updateWalkTarget(PathAwareEntity entity) private voidFindWalkTargetTask.updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos) -
Uses of PathAwareEntity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as PathAwareEntityModifier and TypeFieldDescriptionprivate final PathAwareEntityAvoidSunlightGoal.mobprivate final PathAwareEntityBreatheAirGoal.mobprivate final PathAwareEntityChaseBoatGoal.mobprotected final PathAwareEntityEscapeDangerGoal.mobprotected final PathAwareEntityEscapeSunlightGoal.mobprotected final PathAwareEntityFleeEntityGoal.mobprivate final PathAwareEntityGoToVillageGoal.mobprivate final PathAwareEntityGoToWalkTargetGoal.mobprotected final PathAwareEntityMeleeAttackGoal.mobprivate final PathAwareEntityMoveIntoWaterGoal.mobprotected final PathAwareEntityMoveThroughVillageGoal.mobprotected final PathAwareEntityMoveToTargetPosGoal.mobprotected final PathAwareEntityTemptGoal.mobprotected final PathAwareEntityWanderAroundGoal.mobprivate final PathAwareEntityWanderNearTargetGoal.mobMethods in net.minecraft.entity.ai.goal with parameters of type PathAwareEntityModifier and TypeMethodDescriptionprotected intGoToBedAndSleepGoal.getInterval(PathAwareEntity mob) protected intMoveToTargetPosGoal.getInterval(PathAwareEntity mob) Constructors in net.minecraft.entity.ai.goal with parameters of type PathAwareEntityModifierConstructorDescriptionEscapeDangerGoal(PathAwareEntity mob, double speed) EscapeSunlightGoal(PathAwareEntity mob, double speed) FleeEntityGoal(PathAwareEntity mob, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed) FleeEntityGoal(PathAwareEntity fleeingEntity, Class<T> classToFleeFrom, float fleeDistance, double fleeSlowSpeed, double fleeFastSpeed, Predicate<LivingEntity> inclusionSelector) FleeEntityGoal(PathAwareEntity mob, Class<T> fleeFromType, Predicate<LivingEntity> extraInclusionSelector, float distance, double slowSpeed, double fastSpeed, Predicate<LivingEntity> inclusionSelector) FlyGoal(PathAwareEntity mob, double speed) GoToVillageGoal(PathAwareEntity mob, int searchRange) GoToWalkTargetGoal(PathAwareEntity mob, double speed) IronGolemWanderAroundGoal(PathAwareEntity mob, double speed) MeleeAttackGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle) MoveThroughVillageGoal(PathAwareEntity entity, double speed, boolean requiresNighttime, int distance, BooleanSupplier doorPassingThroughGetter) MoveToTargetPosGoal(PathAwareEntity mob, double speed, int range) MoveToTargetPosGoal(PathAwareEntity mob, double speed, int range, int maxYDifference) RevengeGoal(PathAwareEntity mob, Class<?>[] noRevengeTypes) StepAndDestroyBlockGoal(Block targetBlock, PathAwareEntity mob, double speed, int maxYDifference) SwimAroundGoal(PathAwareEntity mob, double speed, int chance) TemptGoal(PathAwareEntity entity, double speed, Ingredient food, boolean canBeScared) WanderAroundFarGoal(PathAwareEntity mob, double speed) WanderAroundFarGoal(PathAwareEntity mob, double speed, float probability) WanderAroundGoal(PathAwareEntity mob, double speed) WanderAroundGoal(PathAwareEntity mob, double speed, int chance) WanderAroundGoal(PathAwareEntity entity, double speed, int chance, boolean canDespawn) WanderAroundPointOfInterestGoal(PathAwareEntity entity, double speed, boolean canDespawn) WanderNearTargetGoal(PathAwareEntity mob, double speed, float maxDistance) -
Uses of PathAwareEntity in net.minecraft.entity.boss
Subclasses of PathAwareEntity in net.minecraft.entity.boss -
Uses of PathAwareEntity in net.minecraft.entity.mob
Subclasses of PathAwareEntity in net.minecraft.entity.mobModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.entity.mob declared as PathAwareEntityModifier and TypeFieldDescriptionprivate final PathAwareEntityDrownedEntity.WanderAroundOnSurfaceGoal.mobConstructors in net.minecraft.entity.mob with parameters of type PathAwareEntityModifierConstructorDescription(package private)DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference) WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed) Constructor parameters in net.minecraft.entity.mob with type arguments of type PathAwareEntityModifierConstructorDescriptionprotectedPathAwareEntity(EntityType<? extends PathAwareEntity> type, World world) -
Uses of PathAwareEntity in net.minecraft.entity.passive
Subclasses of PathAwareEntity in net.minecraft.entity.passiveModifier and TypeClassDescriptionclassclassclassclassclassRepresents an axolotl, the cutest predator.classclassMeow.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassConstructors in net.minecraft.entity.passive with parameters of type PathAwareEntityModifierConstructorDescriptionFlyOntoTreeGoal(PathAwareEntity mob, double speed) (package private)StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle) -
Uses of PathAwareEntity in net.minecraft.entity.raid
Subclasses of PathAwareEntity in net.minecraft.entity.raid