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> pEntityType, Level pLevel) -
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>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl
<PathfinderMob> InsideBrownianWalk.create
(float pSpeedModifier) static BehaviorControl
<PathfinderMob> PlayTagWithOtherKids.create()
static BehaviorControl
<PathfinderMob> SetClosestHomeAsWalkTarget.create
(float pSpeedModifier) private static <T> OneShot
<PathfinderMob> SetWalkTargetAwayFrom.create
(MemoryModuleType<T> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget, Function<T, Vec3> pToPosition) static OneShot
<PathfinderMob> StrollAroundPoi.create
(MemoryModuleType<GlobalPos> pPoiPosMemory, float pSpeedModifier, int pMaxDistFromPoi) static BehaviorControl
<PathfinderMob> StrollToPoi.create
(MemoryModuleType<GlobalPos> pPoiPosMemory, float pSpeedModifier, int pCloseEnoughDist, int pMaxDistFromPoi) static BehaviorControl
<PathfinderMob> TryFindLand.create
(int pRange, float pSpeedModifier) static BehaviorControl
<PathfinderMob> TryFindLandNearWater.create
(int pRange, float pSpeedModifier) static BehaviorControl
<PathfinderMob> TryFindWater.create
(int pRange, float pSpeedModifier) static OneShot
<PathfinderMob> VillageBoundRandomStroll.create
(float pSpeedModifier) static OneShot
<PathfinderMob> VillageBoundRandomStroll.create
(float pSpeedModifier, int pMaxHorizontalDist, int pMaxVerticalDist) static OneShot
<PathfinderMob> SetWalkTargetAwayFrom.entity
(MemoryModuleType<? extends Entity> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget) static BehaviorControl
<PathfinderMob> RandomStroll.fly
(float pSpeedModifier) static BehaviorControl
<PathfinderMob> SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> pWalkTargetAwayFromMemory, float pSpeedModifier, int pDesiredDistance, boolean pHasTarget) static OneShot
<PathfinderMob> RandomStroll.stroll
(float pSpeedModifier) static OneShot
<PathfinderMob> RandomStroll.stroll
(float pSpeedModifier, boolean pMayStrollFromWater) static BehaviorControl
<PathfinderMob> RandomStroll.stroll
(float pSpeedModifier, int pMaxHorizontalDistance, int pMaxVerticalDistance) private static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float pSpeedModifier, Function<PathfinderMob, Vec3> pTarget, Predicate<PathfinderMob> pCanStroll) static BehaviorControl
<PathfinderMob> RandomStroll.swim
(float pSpeedModifier) Methods in net.minecraft.world.entity.ai.behavior with parameters of type PathfinderMobModifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob pPathfinder, LivingEntity pEntity) private static boolean
YieldJobSite.canReachPos
(PathfinderMob pMob, BlockPos pPos, PoiType pPoi) protected boolean
FollowTemptation.canStillUse
(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected boolean
PrepareRamNearestTarget.canStillUse
(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) private void
PrepareRamNearestTarget.chooseRamPosition
(PathfinderMob pPathfinder, LivingEntity pEntity) static Vec3
BehaviorUtils.getRandomSwimmablePos
(PathfinderMob pPathfinder, int pRadius, int pVerticalDistance) protected float
FollowTemptation.getSpeedModifier
(PathfinderMob pPathfinder) private static Vec3
RandomStroll.getTargetFlyPos
(PathfinderMob pMob, int pMaxDistance, int pYRange) private static Vec3
RandomStroll.getTargetSwimPos
(PathfinderMob p_259491_) FollowTemptation.getTemptingPlayer
(PathfinderMob pPathfinder) private boolean
PrepareRamNearestTarget.isWalkableBlock
(PathfinderMob pPathfinder, BlockPos pPos) protected void
FollowTemptation.start
(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected void
PrepareRamNearestTarget.start
(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected void
FollowTemptation.stop
(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected void
FollowTemptation.tick
(ServerLevel pLevel, PathfinderMob pOwner, long pGameTime) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PathfinderMobModifier and TypeMethodDescriptionprivate static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float pSpeedModifier, Function<PathfinderMob, Vec3> pTarget, Predicate<PathfinderMob> pCanStroll) private static OneShot
<PathfinderMob> RandomStroll.strollFlyOrSwim
(float pSpeedModifier, Function<PathfinderMob, Vec3> pTarget, Predicate<PathfinderMob> pCanStroll) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PathfinderMobModifierConstructorDescriptionAnimalPanic
(float pSpeedMultiplier, Function<PathfinderMob, TagKey<DamageType>> pPanicCausingDamageTypes) -
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 pCreature) protected int
MoveToBlockGoal.nextStartTick
(PathfinderMob pCreature) Constructors in net.minecraft.world.entity.ai.goal with parameters of type PathfinderMobModifierConstructorDescriptionAvoidEntityGoal
(PathfinderMob pMob, Class<T> pEntityClassToAvoid, float pMaxDistance, double pWalkSpeedModifier, double pSprintSpeedModifier) AvoidEntityGoal
(PathfinderMob pMob, Class<T> pEntityClassToAvoid, float pMaxDistance, double pWalkSpeedModifier, double pSprintSpeedModifier, Predicate<LivingEntity> pPredicateOnAvoidEntity) AvoidEntityGoal
(PathfinderMob pMob, Class<T> pEntityClassToAvoid, Predicate<LivingEntity> pAvoidPredicate, float pMaxDistance, double pWalkSpeedModifier, double pSprintSpeedModifier, Predicate<LivingEntity> pPredicateOnAvoidEntity) Goal that helps mobs avoid mobs of a specific classBreathAirGoal
(PathfinderMob pMob) FleeSunGoal
(PathfinderMob pMob, double pSpeedModifier) FollowBoatGoal
(PathfinderMob pMob) GolemRandomStrollInVillageGoal
(PathfinderMob pMob, double pSpeedModifier) MeleeAttackGoal
(PathfinderMob pMob, double pSpeedModifier, boolean pFollowingTargetEvenIfNotSeen) MoveBackToVillageGoal
(PathfinderMob pMob, double pSpeedModifier, boolean pCheckNoActionTime) MoveThroughVillageGoal
(PathfinderMob pMob, double pSpeedModifier, boolean pOnlyAtNight, int pDistanceToPoi, BooleanSupplier pCanDealWithDoors) MoveToBlockGoal
(PathfinderMob pMob, double pSpeedModifier, int pSearchRange) MoveToBlockGoal
(PathfinderMob pMob, double pSpeedModifier, int pSearchRange, int pVerticalSearchRange) MoveTowardsRestrictionGoal
(PathfinderMob pMob, double pSpeedModifier) MoveTowardsTargetGoal
(PathfinderMob pMob, double pSpeedModifier, float pWithin) PanicGoal
(PathfinderMob pMob, double pSpeedModifier) PanicGoal
(PathfinderMob pMob, double pSpeedModifier, Function<PathfinderMob, TagKey<DamageType>> pPanicCausingDamageTypes) PanicGoal
(PathfinderMob pMob, double pSpeedModifier, TagKey<DamageType> pPanicCausingDamageTypes) RandomStrollGoal
(PathfinderMob pMob, double pSpeedModifier) RandomStrollGoal
(PathfinderMob pMob, double pSpeedModifier, int pInterval) RandomStrollGoal
(PathfinderMob pMob, double pSpeedModifier, int pInterval, boolean pCheckNoActionTime) RandomSwimmingGoal
(PathfinderMob p_25753_, double p_25754_, int p_25755_) RemoveBlockGoal
(Block pBlockToRemove, PathfinderMob pRemoverMob, double pSpeedModifier, int pSearchRange) RestrictSunGoal
(PathfinderMob pMob) StrollThroughVillageGoal
(PathfinderMob pMob, int pInterval) TemptGoal
(PathfinderMob pMob, double pSpeedModifier, Predicate<ItemStack> pItems, boolean pCanScare) WaterAvoidingRandomFlyingGoal
(PathfinderMob p_25981_, double p_25982_) WaterAvoidingRandomStrollGoal
(PathfinderMob pMob, double pSpeedModifier) WaterAvoidingRandomStrollGoal
(PathfinderMob pMob, double pSpeedModifier, float pProbability) Constructor parameters in net.minecraft.world.entity.ai.goal with type arguments of type PathfinderMobModifierConstructorDescriptionPanicGoal
(PathfinderMob pMob, double pSpeedModifier, Function<PathfinderMob, TagKey<DamageType>> pPanicCausingDamageTypes) -
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 pLevel, PathfinderMob pEntity) -
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 pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit) static Vec3
RandomPos.generateRandomPos
(PathfinderMob pMob, Supplier<BlockPos> pPosSupplier) private static BlockPos
DefaultRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
LandRandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static Vec3
AirAndWaterRandomPos.getPos
(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier) static Vec3
DefaultRandomPos.getPos
(PathfinderMob pMob, int pRadius, int pVerticalDistance) static Vec3
HoverRandomPos.getPos
(PathfinderMob pMob, int pRadius, int pYRange, double pX, double pZ, float pAmplifier, int pMaxSwimUp, int pMinSwimUp) 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 pMob, int pRadius, int pVerticalRange) static Vec3
LandRandomPos.getPos
(PathfinderMob pMob, int pRadius, int pYRange, ToDoubleFunction<BlockPos> pToDoubleFunction) static Vec3
DefaultRandomPos.getPosAway
(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static Vec3
LandRandomPos.getPosAway
(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) private static Vec3
LandRandomPos.getPosInDirection
(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, boolean pShortCircuit) static Vec3
AirRandomPos.getPosTowards
(PathfinderMob pMob, int pRadius, int pYRange, int pY, Vec3 pVectorPosition, double pAmplifier) static Vec3
DefaultRandomPos.getPosTowards
(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, double pAmplifier) static Vec3
LandRandomPos.getPosTowards
(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static boolean
GoalUtils.hasMalus
(PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isOutsideLimits
(BlockPos pPos, PathfinderMob pMob) static boolean
GoalUtils.isRestricted
(boolean pShortCircuit, PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isSolid
(PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.isWater
(PathfinderMob pMob, BlockPos pPos) static boolean
GoalUtils.mobRestricted
(PathfinderMob pMob, int pRadius) static BlockPos
LandRandomPos.movePosUpOutOfSolid
(PathfinderMob pMob, BlockPos pPos) -
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 pMob, double pSpeedModifier, boolean pFollowingTargetEvenIfNotSeen) 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 pMob, double pSpeedModifier) (package private)
ZombieAttackTurtleEggGoal
(PathfinderMob pMob, double pSpeedModifier, int pVerticalSearchRange) -
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 -
Uses of PathfinderMob in net.neoforged.neoforge.oldtest.entity
Subclasses of PathfinderMob in net.neoforged.neoforge.oldtest.entity