Uses of Class
net.minecraft.entity.mob.PathAwareEntity
Package | Description |
---|---|
net.minecraft |
The base package for all Minecraft classes.
|
net.minecraft.entity.ai | |
net.minecraft.entity.ai.brain.sensor | |
net.minecraft.entity.ai.brain.task | |
net.minecraft.entity.ai.goal | |
net.minecraft.entity.boss | |
net.minecraft.entity.mob | |
net.minecraft.entity.passive | |
net.minecraft.entity.raid |
-
Uses of PathAwareEntity in net.minecraft
Methods in net.minecraft with parameters of type PathAwareEntity Modifier and Type Method Description protected void
class_6028. keepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected void
class_6028. run(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
protected boolean
class_6028. shouldKeepRunning(ServerWorld serverWorld, PathAwareEntity pathAwareEntity, long long2)
-
Uses of PathAwareEntity in net.minecraft.entity.ai
Methods in net.minecraft.entity.ai with parameters of type PathAwareEntity Modifier and Type Method Description static @Nullable Vec3d
AboveGroundTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, double x, double z, float angle, int maxAboveSolid, int minAboveSolid)
static @Nullable Vec3d
FuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)
static @Nullable Vec3d
FuzzyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, ToDoubleFunction<BlockPos> scorer)
static @Nullable Vec3d
NoPenaltySolidTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction)
static @Nullable Vec3d
NoPenaltyTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end, double angleRange)
static @Nullable Vec3d
NoWaterTargeting. find(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, Vec3d direction, double angleRange)
static @Nullable Vec3d
FuzzyTargeting. findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start)
static @Nullable Vec3d
FuzzyTargeting. findTo(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d end)
private static @Nullable Vec3d
FuzzyTargeting. findValid(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d direction, boolean posTargetInRange)
static @Nullable Vec3d
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)
static @Nullable BlockPos
FuzzyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos relativeInRangePos)
static @Nullable BlockPos
NoPenaltySolidTargeting. tryMake(PathAwareEntity entity, int horizontalRange, int verticalRange, int startHeight, double xDirection, double zDirection, double rangeAngle, boolean posTargetInRange)
private static @Nullable BlockPos
NoPenaltyTargeting. tryMake(PathAwareEntity entity, int horizontalRange, boolean posTargetInRange, BlockPos fuzz)
static @Nullable BlockPos
FuzzyTargeting. validate(PathAwareEntity entity, BlockPos pos)
-
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.sensor
Methods in net.minecraft.entity.ai.brain.sensor with parameters of type PathAwareEntity Modifier and Type Method Description protected void
TemptationsSensor. sense(ServerWorld serverWorld, PathAwareEntity pathAwareEntity)
-
Uses of PathAwareEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type PathAwareEntity Modifier and Type Method Description 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)
static @Nullable Vec3d
LookTargetUtil. method_33193(PathAwareEntity pathAwareEntity, int int2, int int3)
protected Vec3d
AquaticStrollTask. method_33201(PathAwareEntity pathAwareEntity)
protected @Nullable Vec3d
StrollTask. method_33201(PathAwareEntity pathAwareEntity)
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
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
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
TemptTask. 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
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
Fields in net.minecraft.entity.ai.goal declared as PathAwareEntity Modifier and Type Field Description private 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
Methods in net.minecraft.entity.ai.goal with parameters of type PathAwareEntity Modifier and Type Method Description protected int
GoToOwnerAndPurrGoal. getInterval(PathAwareEntity mob)
protected int
MoveToTargetPosGoal. getInterval(PathAwareEntity mob)
Constructors in net.minecraft.entity.ai.goal with parameters of type PathAwareEntity Constructor Description AvoidSunlightGoal(PathAwareEntity mob)
BreatheAirGoal(PathAwareEntity mob)
ChaseBoatGoal(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)
MoveIntoWaterGoal(PathAwareEntity mob)
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 bool)
WanderAroundPointOfInterestGoal(PathAwareEntity entity, double speed, boolean bool)
WanderNearTargetGoal(PathAwareEntity mob, double speed, float maxDistance)
-
Uses of PathAwareEntity in net.minecraft.entity.boss
Subclasses of PathAwareEntity in net.minecraft.entity.boss Modifier and Type Class Description class
WitherEntity
-
Uses of PathAwareEntity in net.minecraft.entity.mob
Subclasses of PathAwareEntity in net.minecraft.entity.mob Modifier and Type Class Description class
AbstractPiglinEntity
class
AbstractSkeletonEntity
class
BlazeEntity
class
CaveSpiderEntity
class
CreeperEntity
class
DrownedEntity
class
ElderGuardianEntity
class
EndermanEntity
class
EndermiteEntity
class
EvokerEntity
class
GiantEntity
class
GuardianEntity
class
HoglinEntity
class
HostileEntity
class
HuskEntity
class
IllagerEntity
class
IllusionerEntity
class
PatrolEntity
class
PiglinBruteEntity
class
PiglinEntity
class
PillagerEntity
class
RavagerEntity
class
ShulkerEntity
class
SilverfishEntity
class
SkeletonEntity
class
SkeletonHorseEntity
class
SpellcastingIllagerEntity
class
SpiderEntity
class
StrayEntity
class
VexEntity
class
VindicatorEntity
class
WaterCreatureEntity
class
WitchEntity
class
WitherSkeletonEntity
class
ZoglinEntity
class
ZombieEntity
class
ZombieHorseEntity
class
ZombieVillagerEntity
class
ZombifiedPiglinEntity
Fields in net.minecraft.entity.mob declared as PathAwareEntity Modifier and Type Field Description private PathAwareEntity
DrownedEntity.WanderAroundOnSurfaceGoal. mob
Constructors in net.minecraft.entity.mob with parameters of type PathAwareEntity Constructor Description DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference)
TrackOwnerTargetGoal(PathAwareEntity mob)
WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed)
Constructor parameters in net.minecraft.entity.mob with type arguments of type PathAwareEntity Constructor Description PathAwareEntity(EntityType<? extends PathAwareEntity> type, World world)
-
Uses of PathAwareEntity in net.minecraft.entity.passive
Subclasses of PathAwareEntity in net.minecraft.entity.passive Modifier and Type Class Description class
AbstractDonkeyEntity
class
AnimalEntity
class
AxolotlEntity
class
BeeEntity
class
CatEntity
Meow.class
ChickenEntity
class
CodEntity
class
CowEntity
class
DolphinEntity
class
DonkeyEntity
class
FishEntity
class
FoxEntity
class
GlowSquidEntity
class
GoatEntity
class
GolemEntity
class
HorseBaseEntity
class
HorseEntity
class
IronGolemEntity
class
LlamaEntity
class
MerchantEntity
class
MooshroomEntity
class
MuleEntity
class
OcelotEntity
class
PandaEntity
class
ParrotEntity
class
PassiveEntity
class
PigEntity
class
PolarBearEntity
class
PufferfishEntity
class
RabbitEntity
class
SalmonEntity
class
SchoolingFishEntity
class
SheepEntity
class
SnowGolemEntity
class
SquidEntity
class
StriderEntity
class
TameableEntity
class
TameableShoulderEntity
class
TraderLlamaEntity
class
TropicalFishEntity
class
TurtleEntity
class
VillagerEntity
class
WanderingTraderEntity
class
WolfEntity
Constructors in net.minecraft.entity.passive with parameters of type PathAwareEntity Constructor Description StingGoal(PathAwareEntity mob, double speed, boolean pauseWhenMobIdle)
-
Uses of PathAwareEntity in net.minecraft.entity.raid
Subclasses of PathAwareEntity in net.minecraft.entity.raid Modifier and Type Class Description class
RaiderEntity