Uses of Class
net.minecraft.entity.mob.PathAwareEntity
Package
Description
-
Uses of PathAwareEntity in net.minecraft.entity.ai
Modifier 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)
FuzzyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)
NoPenaltySolidTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double directionX, double directionZ, double rangeAngle)
NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange)
NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)
NoPenaltyTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)
NoWaterTargeting.find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)
FuzzyTargeting.findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)
FuzzyTargeting.findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)
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 boolean
NavigationConditions.hasPathfindingPenalty(PathAwareEntity entity, BlockPos pos)
static boolean
NavigationConditions.isHeightInvalid(BlockPos pos, PathAwareEntity entity)
static boolean
NavigationConditions.isPositionTargetInRange(PathAwareEntity entity, int extraDistance)
static boolean
NavigationConditions.isPositionTargetOutOfWalkRange(boolean posTargetInRange, PathAwareEntity entity, BlockPos pos)
static boolean
NavigationConditions.isSolidAt(PathAwareEntity entity, BlockPos pos)
static boolean
NavigationConditions.isWaterAt(PathAwareEntity entity, BlockPos pos)
static BlockPos
FuzzyPositions.towardTarget(PathAwareEntity entity, int horizontalRange, Random random, BlockPos fuzz)
FuzzyTargeting.tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
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)
-
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionprotected void
TemptationsSensor.sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
-
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.task
Modifier and TypeClassDescriptionclass
PrepareRamTask<E extends PathAwareEntity>
The task where an entity finds a target, a place to start its ram, and wait to start its ram.class
RamImpactTask<E extends PathAwareEntity>
Modifier and TypeMethodDescriptionprivate boolean
PrepareRamTask.canReach(PathAwareEntity entity, BlockPos target)
LookTargetUtil.find(PathAwareEntity entity, int horizontalRange, int verticalRange)
private void
PrepareRamTask.findRam(PathAwareEntity entity, LivingEntity target)
PrepareRamTask.findRamStart(PathAwareEntity entity, LivingEntity target)
protected Vec3d
AquaticStrollTask.findWalkTarget(PathAwareEntity entity)
StrollTask.findWalkTarget(PathAwareEntity entity)
protected void
SeekWaterTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
TemptTask.finishRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
private Map<LivingEntity,Integer>
PlayWithVillagerBabiesTask.getBabyInteractionTargetCounts(PathAwareEntity entity)
private Optional<LivingEntity>
PlayWithVillagerBabiesTask.getLeastPopularBabyInteractionTarget(PathAwareEntity entity)
private Vec3d
GoToRememberedPositionTask.getPos(PathAwareEntity entity)
protected float
TemptTask.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 boolean
PlayWithVillagerBabiesTask.hasVisibleVillagerBabies(PathAwareEntity entity)
private boolean
GoToRememberedPositionTask.isWalkTargetPresentAndFar(PathAwareEntity entity)
protected void
TemptTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
WalkTask.keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
FindPointOfInterestTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
FindWalkTargetTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
GoToIfNearbyTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
GoToNearbyPositionTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
GoToRememberedPositionTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
PlayWithVillagerBabiesTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
PrepareRamTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
RamImpactTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
SeekWaterTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
StrollTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
TemptTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
WalkTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
WanderIndoorsTask.run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
private void
PlayWithVillagerBabiesTask.setGroundTarget(ServerWorld world, PathAwareEntity entity, LivingEntity unusedBaby)
private static void
PlayWithVillagerBabiesTask.setPlayTarget(PathAwareEntity entity, LivingEntity target)
private static void
GoToRememberedPositionTask.setWalkTarget(PathAwareEntity entity, Vec3d pos, float speed)
protected boolean
PrepareRamTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
RamImpactTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
TemptTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
WalkTask.shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
AquaticStrollTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
FindPointOfInterestTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
GoToIfNearbyTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
GoToNearbyPositionTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
GoToRememberedPositionTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
PlayWithVillagerBabiesTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
RamImpactTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
RunAroundAfterRaidTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
SeekWaterTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
protected boolean
WanderIndoorsTask.shouldRun(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
private void
FindWalkTargetTask.updateWalkTarget(PathAwareEntity entity)
private void
FindWalkTargetTask.updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos)
-
Uses of PathAwareEntity in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprivate PathAwareEntity
AvoidSunlightGoal.mob
private PathAwareEntity
BreatheAirGoal.mob
private PathAwareEntity
ChaseBoatGoal.mob
protected PathAwareEntity
EscapeDangerGoal.mob
protected PathAwareEntity
EscapeSunlightGoal.mob
protected PathAwareEntity
FleeEntityGoal.mob
private PathAwareEntity
GoToVillageGoal.mob
private PathAwareEntity
GoToWalkTargetGoal.mob
protected PathAwareEntity
MeleeAttackGoal.mob
private PathAwareEntity
MoveIntoWaterGoal.mob
protected PathAwareEntity
MoveThroughVillageGoal.mob
protected PathAwareEntity
MoveToTargetPosGoal.mob
protected PathAwareEntity
TemptGoal.mob
protected PathAwareEntity
WanderAroundGoal.mob
private PathAwareEntity
WanderNearTargetGoal.mob
Modifier and TypeMethodDescriptionprotected int
GoToOwnerAndPurrGoal.getInterval(PathAwareEntity mob)
protected int
MoveToTargetPosGoal.getInterval(PathAwareEntity mob)
ModifierConstructorDescriptionChaseBoatGoal(PathAwareEntity mob)
EscapeDangerGoal(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)
FlyOntoTreeGoal(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
-
Uses of PathAwareEntity in net.minecraft.entity.mob
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate PathAwareEntity
DrownedEntity.WanderAroundOnSurfaceGoal.mob
ModifierConstructorDescription(package private)
DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference)
WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed)
ModifierConstructorDescriptionprotected
PathAwareEntity(EntityType<? extends PathAwareEntity> type, World world)
-
Uses of PathAwareEntity in net.minecraft.entity.passive
Modifier and TypeClassDescriptionclass
class
class
class
class
Meow.class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
ModifierConstructorDescription(package private)
StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle)
-
Uses of PathAwareEntity in net.minecraft.entity.raid