Uses of Class
net.minecraft.world.entity.PathfinderMob
Packages that use PathfinderMob
Package
Description
-
Uses of PathfinderMob in net.minecraft.world.entity
Subclasses of PathfinderMob in net.minecraft.world.entityConstructor parameters in net.minecraft.world.entity with type arguments of type PathfinderMobModifierConstructorDescriptionprotected
PathfinderMob
(EntityType<? extends PathfinderMob> entityType, Level level) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.behavior
Classes in net.minecraft.world.entity.ai.behavior with type parameters of type PathfinderMobModifier and TypeClassDescriptionclass
AnimalPanic<E extends PathfinderMob>
class
PrepareRamNearestTarget<E extends PathfinderMob>
Fields in net.minecraft.world.entity.ai.behavior with type parameters of type PathfinderMobModifier and TypeFieldDescriptionprivate final Function
<PathfinderMob, TagKey<DamageType>> AnimalPanic.panicCausingDamageTypes
Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type PathfinderMobModifier and TypeMethodDescriptionstatic BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> existingAbsentMemory, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) static BehaviorControl
<PathfinderMob> InsideBrownianWalk.create
(float speedModifier) static BehaviorControl
<PathfinderMob> PlayTagWithOtherKids.create()
static BehaviorControl
<PathfinderMob> SetClosestHomeAsWalkTarget.create
(float speedModifier) private static <T> OneShot
<PathfinderMob> SetWalkTargetAwayFrom.create
(MemoryModuleType<T> walkTargetAwayFromMemory, float speedModifier, int desiredDistance, boolean hasTarget, Function<T, Vec3> toPosition) static OneShot
<PathfinderMob> StrollAroundPoi.create
(MemoryModuleType<GlobalPos> poiPosMemory, float speedModifier, int maxDistFromPoi) static BehaviorControl
<PathfinderMob> StrollToPoi.create
(MemoryModuleType<GlobalPos> poiPosMemory, float speedModifier, int closeEnoughDist, int maxDistFromPoi) static BehaviorControl
<PathfinderMob> TryFindLand.create
(int range, float speedModifier) static BehaviorControl
<PathfinderMob> TryFindLandNearWater.create
(int range, float speedModifier) static BehaviorControl
<PathfinderMob> TryFindWater.create
(int range, float speedModifier) static OneShot
<PathfinderMob> VillageBoundRandomStroll.create
(float speedModifier) static OneShot
<PathfinderMob> VillageBoundRandomStroll.create
(float speedModifier, int maxHorizontalDist, int maxVerticalDist) static OneShot
<PathfinderMob> SetWalkTargetAwayFrom.entity
(MemoryModuleType<? extends Entity> walkTargetAwayFromMemory, float speedModifier, int desiredDistance, boolean hasTarget) static BehaviorControl
<PathfinderMob> RandomStroll.fly
(float speedModifier) static BehaviorControl
<PathfinderMob> SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> walkTargetAwayFromMemory, float speedModifier, int desiredDistance, boolean hasTarget) static OneShot
<PathfinderMob> RandomStroll.stroll
(float speedModifier) static OneShot
<PathfinderMob> RandomStroll.stroll
(float speedModifier, boolean mayStrollFromWater) static BehaviorControl
<PathfinderMob> RandomStroll.stroll
(float speedModifier, int maxHorizontalDistance, int maxVerticalDistance) private static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float speedModifier, Function<PathfinderMob, Vec3> target, Predicate<PathfinderMob> canStroll) static BehaviorControl
<PathfinderMob> RandomStroll.swim
(float speedModifier) Methods in net.minecraft.world.entity.ai.behavior with parameters of type PathfinderMobModifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob pathfinder, LivingEntity entity) private static boolean
YieldJobSite.canReachPos
(PathfinderMob mob, BlockPos pos, PoiType poi) protected boolean
FollowTemptation.canStillUse
(ServerLevel level, PathfinderMob entity, long gameTime) protected boolean
PrepareRamNearestTarget.canStillUse
(ServerLevel level, PathfinderMob entity, long gameTime) private void
PrepareRamNearestTarget.chooseRamPosition
(PathfinderMob pathfinder, LivingEntity entity) static Vec3
BehaviorUtils.getRandomSwimmablePos
(PathfinderMob pathfinder, int radius, int verticalDistance) protected float
FollowTemptation.getSpeedModifier
(PathfinderMob pathfinder) private static Vec3
RandomStroll.getTargetFlyPos
(PathfinderMob mob, int maxDistance, int yRange) private static Vec3
RandomStroll.getTargetSwimPos
(PathfinderMob mob) FollowTemptation.getTemptingPlayer
(PathfinderMob pathfinder) private boolean
PrepareRamNearestTarget.isWalkableBlock
(PathfinderMob pathfinder, BlockPos pos) protected void
FollowTemptation.start
(ServerLevel level, PathfinderMob entity, long gameTime) protected void
PrepareRamNearestTarget.start
(ServerLevel level, PathfinderMob entity, long gameTime) protected void
FollowTemptation.stop
(ServerLevel level, PathfinderMob entity, long gameTime) protected void
FollowTemptation.tick
(ServerLevel level, PathfinderMob owner, long gameTime) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PathfinderMobModifier and TypeMethodDescriptionprivate static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float speedModifier, Function<PathfinderMob, Vec3> target, Predicate<PathfinderMob> canStroll) private static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float speedModifier, Function<PathfinderMob, Vec3> target, Predicate<PathfinderMob> canStroll) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PathfinderMobModifierConstructorDescriptionAnimalPanic
(float speedMultiplier, Function<PathfinderMob, TagKey<DamageType>> panicCausingDamageTypes) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as PathfinderMobModifier and TypeFieldDescriptionprotected final PathfinderMob
AvoidEntityGoal.mob
private final PathfinderMob
BreathAirGoal.mob
protected final PathfinderMob
FleeSunGoal.mob
private final PathfinderMob
FollowBoatGoal.mob
protected final PathfinderMob
MeleeAttackGoal.mob
protected final PathfinderMob
MoveThroughVillageGoal.mob
protected final PathfinderMob
MoveToBlockGoal.mob
private final PathfinderMob
MoveTowardsRestrictionGoal.mob
private final PathfinderMob
MoveTowardsTargetGoal.mob
protected final PathfinderMob
PanicGoal.mob
protected final PathfinderMob
RandomStrollGoal.mob
private final PathfinderMob
RestrictSunGoal.mob
private final PathfinderMob
StrollThroughVillageGoal.mob
protected final PathfinderMob
TemptGoal.mob
private final PathfinderMob
TryFindWaterGoal.mob
Fields in net.minecraft.world.entity.ai.goal with type parameters of type PathfinderMobModifier and TypeFieldDescriptionprivate final Function
<PathfinderMob, TagKey<DamageType>> PanicGoal.panicCausingDamageTypes
Methods in net.minecraft.world.entity.ai.goal with parameters of type PathfinderMobModifier and TypeMethodDescriptionprotected int
CatLieOnBedGoal.nextStartTick
(PathfinderMob creature) protected int
MoveToBlockGoal.nextStartTick
(PathfinderMob creature) Constructors in net.minecraft.world.entity.ai.goal with parameters of type PathfinderMobModifierConstructorDescriptionAvoidEntityGoal
(PathfinderMob mob, Class<T> entityClassToAvoid, float maxDistance, double walkSpeedModifier, double sprintSpeedModifier) AvoidEntityGoal
(PathfinderMob mob, Class<T> entityClassToAvoid, float maxDistance, double walkSpeedModifier, double sprintSpeedModifier, Predicate<LivingEntity> predicateOnAvoidEntity) AvoidEntityGoal
(PathfinderMob mob, Class<T> entityClassToAvoid, Predicate<LivingEntity> avoidPredicate, float maxDistance, double walkSpeedModifier, double sprintSpeedModifier, Predicate<LivingEntity> predicateOnAvoidEntity) Goal that helps mobs avoid mobs of a specific classFleeSunGoal
(PathfinderMob mob, double speedModifier) GolemRandomStrollInVillageGoal
(PathfinderMob mob, double speedModifier) MeleeAttackGoal
(PathfinderMob mob, double speedModifier, boolean followingTargetEvenIfNotSeen) MoveBackToVillageGoal
(PathfinderMob mob, double speedModifier, boolean checkNoActionTime) MoveThroughVillageGoal
(PathfinderMob mob, double speedModifier, boolean onlyAtNight, int distanceToPoi, BooleanSupplier canDealWithDoors) MoveToBlockGoal
(PathfinderMob mob, double speedModifier, int searchRange) MoveToBlockGoal
(PathfinderMob mob, double speedModifier, int searchRange, int verticalSearchRange) MoveTowardsRestrictionGoal
(PathfinderMob mob, double speedModifier) MoveTowardsTargetGoal
(PathfinderMob mob, double speedModifier, float within) PanicGoal
(PathfinderMob mob, double speedModifier) PanicGoal
(PathfinderMob mob, double speedModifier, Function<PathfinderMob, TagKey<DamageType>> panicCausingDamageTypes) PanicGoal
(PathfinderMob mob, double speedModifier, TagKey<DamageType> panicCausingDamageTypes) RandomStrollGoal
(PathfinderMob mob, double speedModifier) RandomStrollGoal
(PathfinderMob mob, double speedModifier, int interval) RandomStrollGoal
(PathfinderMob mob, double speedModifier, int interval, boolean checkNoActionTime) RandomSwimmingGoal
(PathfinderMob p_25753_, double p_25754_, int p_25755_) RemoveBlockGoal
(Block blockToRemove, PathfinderMob removerMob, double speedModifier, int searchRange) StrollThroughVillageGoal
(PathfinderMob mob, int interval) TemptGoal
(PathfinderMob mob, double speedModifier, Predicate<ItemStack> items, boolean canScare) WaterAvoidingRandomFlyingGoal
(PathfinderMob p_25981_, double p_25982_) WaterAvoidingRandomStrollGoal
(PathfinderMob mob, double speedModifier) WaterAvoidingRandomStrollGoal
(PathfinderMob mob, double speedModifier, float probability) Constructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type PathfinderMobModifierConstructorDescriptionPanicGoal
(PathfinderMob mob, double speedModifier, Function<PathfinderMob, TagKey<DamageType>> panicCausingDamageTypes) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.goal.target
Constructors in net.minecraft.world.entity.ai.goal.target with parameters of type PathfinderMob -
Uses of PathfinderMob in net.minecraft.world.entity.ai.sensing
Methods in net.minecraft.world.entity.ai.sensing with parameters of type PathfinderMobModifier and TypeMethodDescriptionprotected void
TemptingSensor.doTick
(ServerLevel level, PathfinderMob entity) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.util
Methods in net.minecraft.world.entity.ai.util with parameters of type PathfinderMobModifier and TypeMethodDescriptionstatic BlockPos
AirAndWaterRandomPos.generateRandomPos
(PathfinderMob mob, int maxDistance, int yRange, int y, double x, double z, double amplifier, boolean shortCircuit) static Vec3
RandomPos.generateRandomPos
(PathfinderMob mob, Supplier<BlockPos> posSupplier) private static BlockPos
DefaultRandomPos.generateRandomPosTowardDirection
(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPos
LandRandomPos.generateRandomPosTowardDirection
(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob mob, int range, RandomSource random, BlockPos pos) static Vec3
AirAndWaterRandomPos.getPos
(PathfinderMob mob, int maxDistance, int yRange, int y, double x, double z, double amplifier) static Vec3
DefaultRandomPos.getPos
(PathfinderMob mob, int radius, int verticalDistance) static Vec3
HoverRandomPos.getPos
(PathfinderMob mob, int radius, int yRange, double x, double z, float amplifier, int maxSwimUp, int minSwimUp) Tries to generate a random position a couple different ways, and if failing, sees if swimming vertically is an option.static Vec3
LandRandomPos.getPos
(PathfinderMob mob, int radius, int verticalRange) static Vec3
LandRandomPos.getPos
(PathfinderMob mob, int radius, int yRange, ToDoubleFunction<BlockPos> toDoubleFunction) static Vec3
DefaultRandomPos.getPosAway
(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) static Vec3
LandRandomPos.getPosAway
(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) private static Vec3
LandRandomPos.getPosInDirection
(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition, boolean shortCircuit) static Vec3
AirRandomPos.getPosTowards
(PathfinderMob mob, int radius, int yRange, int y, Vec3 vectorPosition, double amplifier) static Vec3
DefaultRandomPos.getPosTowards
(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition, double amplifier) static Vec3
LandRandomPos.getPosTowards
(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) static boolean
GoalUtils.hasMalus
(PathfinderMob mob, BlockPos pos) static boolean
GoalUtils.isOutsideLimits
(BlockPos pos, PathfinderMob mob) static boolean
GoalUtils.isRestricted
(boolean shortCircuit, PathfinderMob mob, BlockPos pos) static boolean
GoalUtils.isSolid
(PathfinderMob mob, BlockPos pos) static boolean
GoalUtils.isWater
(PathfinderMob mob, BlockPos pos) static boolean
GoalUtils.mobRestricted
(PathfinderMob mob, int radius) static BlockPos
LandRandomPos.movePosUpOutOfSolid
(PathfinderMob mob, BlockPos pos) -
Uses of PathfinderMob in net.minecraft.world.entity.animal
Subclasses of PathfinderMob in net.minecraft.world.entity.animalModifier 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
Constructors in net.minecraft.world.entity.animal with parameters of type PathfinderMobModifierConstructorDescription(package private)
BeeAttackGoal
(PathfinderMob mob, double speedModifier, boolean followingTargetEvenIfNotSeen) ParrotWanderGoal
(PathfinderMob p_186224_, double p_186225_) -
Uses of PathfinderMob in net.minecraft.world.entity.animal.allay
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.allay -
Uses of PathfinderMob in net.minecraft.world.entity.animal.armadillo
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.armadillo -
Uses of PathfinderMob in net.minecraft.world.entity.animal.axolotl
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.axolotl -
Uses of PathfinderMob in net.minecraft.world.entity.animal.camel
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.camel -
Uses of PathfinderMob in net.minecraft.world.entity.animal.frog
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.frog -
Uses of PathfinderMob in net.minecraft.world.entity.animal.goat
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.goat -
Uses of PathfinderMob in net.minecraft.world.entity.animal.horse
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.horseModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.sniffer
Subclasses of PathfinderMob in net.minecraft.world.entity.animal.sniffer -
Uses of PathfinderMob in net.minecraft.world.entity.boss.wither
Subclasses of PathfinderMob in net.minecraft.world.entity.boss.wither -
Uses of PathfinderMob in net.minecraft.world.entity.monster
Subclasses of PathfinderMob in net.minecraft.world.entity.monsterModifier 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
Fields in net.minecraft.world.entity.monster declared as PathfinderMobConstructors in net.minecraft.world.entity.monster with parameters of type PathfinderMobModifierConstructorDescriptionDrownedGoToWaterGoal
(PathfinderMob mob, double speedModifier) (package private)
ZombieAttackTurtleEggGoal
(PathfinderMob mob, double speedModifier, int verticalSearchRange) -
Uses of PathfinderMob in net.minecraft.world.entity.monster.breeze
Subclasses of PathfinderMob in net.minecraft.world.entity.monster.breeze -
Uses of PathfinderMob in net.minecraft.world.entity.monster.hoglin
Subclasses of PathfinderMob in net.minecraft.world.entity.monster.hoglin -
Uses of PathfinderMob in net.minecraft.world.entity.monster.piglin
Subclasses of PathfinderMob in net.minecraft.world.entity.monster.piglinMethods in net.minecraft.world.entity.monster.piglin that return types with arguments of type PathfinderMobModifier and TypeMethodDescriptionprivate static BehaviorControl
<PathfinderMob> PiglinAi.avoidRepellent()
-
Uses of PathfinderMob in net.minecraft.world.entity.monster.warden
Subclasses of PathfinderMob in net.minecraft.world.entity.monster.warden -
Uses of PathfinderMob in net.minecraft.world.entity.npc
Subclasses of PathfinderMob in net.minecraft.world.entity.npc -
Uses of PathfinderMob in net.minecraft.world.entity.raid
Subclasses of PathfinderMob in net.minecraft.world.entity.raid