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 PathfinderMobModifierConstructorDescriptionprotectedPathfinderMob(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 TypeClassDescriptionclassAnimalPanic<E extends PathfinderMob>classPrepareRamNearestTarget<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.panicCausingDamageTypesMethods 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 booleanYieldJobSite.canReachPos(PathfinderMob pMob, BlockPos pPos, PoiType pPoi) protected booleanFollowTemptation.canStillUse(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected booleanPrepareRamNearestTarget.canStillUse(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) private voidPrepareRamNearestTarget.chooseRamPosition(PathfinderMob pPathfinder, LivingEntity pEntity) static Vec3BehaviorUtils.getRandomSwimmablePos(PathfinderMob pPathfinder, int pRadius, int pVerticalDistance) protected floatFollowTemptation.getSpeedModifier(PathfinderMob pPathfinder) private static Vec3RandomStroll.getTargetFlyPos(PathfinderMob pMob, int pMaxDistance, int pYRange) private static Vec3RandomStroll.getTargetSwimPos(PathfinderMob p_259491_) FollowTemptation.getTemptingPlayer(PathfinderMob pPathfinder) private booleanPrepareRamNearestTarget.isWalkableBlock(PathfinderMob pPathfinder, BlockPos pPos) protected voidFollowTemptation.start(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected voidPrepareRamNearestTarget.start(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected voidFollowTemptation.stop(ServerLevel pLevel, PathfinderMob pEntity, long pGameTime) protected voidFollowTemptation.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 PathfinderMobAvoidEntityGoal.mobprivate final PathfinderMobBreathAirGoal.mobprotected final PathfinderMobFleeSunGoal.mobprivate final PathfinderMobFollowBoatGoal.mobprotected final PathfinderMobMeleeAttackGoal.mobprotected final PathfinderMobMoveThroughVillageGoal.mobprotected final PathfinderMobMoveToBlockGoal.mobprivate final PathfinderMobMoveTowardsRestrictionGoal.mobprivate final PathfinderMobMoveTowardsTargetGoal.mobprotected final PathfinderMobPanicGoal.mobprotected final PathfinderMobRandomStrollGoal.mobprivate final PathfinderMobRestrictSunGoal.mobprivate final PathfinderMobStrollThroughVillageGoal.mobprotected final PathfinderMobTemptGoal.mobprivate final PathfinderMobTryFindWaterGoal.mobFields in net.minecraft.world.entity.ai.goal with type parameters of type PathfinderMobModifier and TypeFieldDescriptionprivate final Function<PathfinderMob, TagKey<DamageType>> PanicGoal.panicCausingDamageTypesMethods in net.minecraft.world.entity.ai.goal with parameters of type PathfinderMobModifier and TypeMethodDescriptionprotected intCatLieOnBedGoal.nextStartTick(PathfinderMob pCreature) protected intMoveToBlockGoal.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 voidTemptingSensor.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 BlockPosAirAndWaterRandomPos.generateRandomPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier, boolean pShortCircuit) static Vec3RandomPos.generateRandomPos(PathfinderMob pMob, Supplier<BlockPos> pPosSupplier) private static BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRadius, boolean pShortCircuit, BlockPos pPos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob pMob, int pRange, RandomSource pRandom, BlockPos pPos) static Vec3AirAndWaterRandomPos.getPos(PathfinderMob pMob, int pMaxDistance, int pYRange, int pY, double pX, double pZ, double pAmplifier) static Vec3DefaultRandomPos.getPos(PathfinderMob pMob, int pRadius, int pVerticalDistance) static Vec3HoverRandomPos.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 Vec3LandRandomPos.getPos(PathfinderMob pMob, int pRadius, int pVerticalRange) static Vec3LandRandomPos.getPos(PathfinderMob pMob, int pRadius, int pYRange, ToDoubleFunction<BlockPos> pToDoubleFunction) static Vec3DefaultRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static Vec3LandRandomPos.getPosAway(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) private static Vec3LandRandomPos.getPosInDirection(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, boolean pShortCircuit) static Vec3AirRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, int pY, Vec3 pVectorPosition, double pAmplifier) static Vec3DefaultRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition, double pAmplifier) static Vec3LandRandomPos.getPosTowards(PathfinderMob pMob, int pRadius, int pYRange, Vec3 pVectorPosition) static booleanGoalUtils.hasMalus(PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isOutsideLimits(BlockPos pPos, PathfinderMob pMob) static booleanGoalUtils.isRestricted(boolean pShortCircuit, PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isSolid(PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.isWater(PathfinderMob pMob, BlockPos pPos) static booleanGoalUtils.mobRestricted(PathfinderMob pMob, int pRadius) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob pMob, BlockPos pPos) -
Uses of PathfinderMob in net.minecraft.world.entity.animal
Subclasses of PathfinderMob in net.minecraft.world.entity.animalModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassConstructors 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 TypeClassDescriptionclassclassclassclassclassclassclassclassclass -
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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields 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