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> 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 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>> 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 booleanYieldJobSite.canReachPos(PathfinderMob mob, BlockPos pos, PoiType poi) protected booleanFollowTemptation.canStillUse(ServerLevel level, PathfinderMob entity, long gameTime) protected booleanPrepareRamNearestTarget.canStillUse(ServerLevel level, PathfinderMob entity, long gameTime) private voidPrepareRamNearestTarget.chooseRamPosition(PathfinderMob pathfinder, LivingEntity entity) static Vec3BehaviorUtils.getRandomSwimmablePos(PathfinderMob pathfinder, int radius, int verticalDistance) protected floatFollowTemptation.getSpeedModifier(PathfinderMob pathfinder) private static Vec3RandomStroll.getTargetFlyPos(PathfinderMob mob, int maxDistance, int yRange) private static Vec3RandomStroll.getTargetSwimPos(PathfinderMob mob) FollowTemptation.getTemptingPlayer(PathfinderMob pathfinder) private booleanPrepareRamNearestTarget.isWalkableBlock(PathfinderMob pathfinder, BlockPos pos) protected voidFollowTemptation.start(ServerLevel level, PathfinderMob entity, long gameTime) protected voidPrepareRamNearestTarget.start(ServerLevel level, PathfinderMob entity, long gameTime) protected voidFollowTemptation.stop(ServerLevel level, PathfinderMob entity, long gameTime) protected voidFollowTemptation.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 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 creature) protected intMoveToBlockGoal.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 voidTemptingSensor.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 BlockPosAirAndWaterRandomPos.generateRandomPos(PathfinderMob mob, int maxDistance, int yRange, int y, double x, double z, double amplifier, boolean shortCircuit) static Vec3RandomPos.generateRandomPos(PathfinderMob mob, Supplier<BlockPos> posSupplier) private static BlockPosDefaultRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosLandRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int radius, boolean shortCircuit, BlockPos pos) static BlockPosRandomPos.generateRandomPosTowardDirection(PathfinderMob mob, int range, RandomSource random, BlockPos pos) static Vec3AirAndWaterRandomPos.getPos(PathfinderMob mob, int maxDistance, int yRange, int y, double x, double z, double amplifier) static Vec3DefaultRandomPos.getPos(PathfinderMob mob, int radius, int verticalDistance) static Vec3HoverRandomPos.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 Vec3LandRandomPos.getPos(PathfinderMob mob, int radius, int verticalRange) static Vec3LandRandomPos.getPos(PathfinderMob mob, int radius, int yRange, ToDoubleFunction<BlockPos> toDoubleFunction) static Vec3DefaultRandomPos.getPosAway(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) static Vec3LandRandomPos.getPosAway(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) private static Vec3LandRandomPos.getPosInDirection(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition, boolean shortCircuit) static Vec3AirRandomPos.getPosTowards(PathfinderMob mob, int radius, int yRange, int y, Vec3 vectorPosition, double amplifier) static Vec3DefaultRandomPos.getPosTowards(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition, double amplifier) static Vec3LandRandomPos.getPosTowards(PathfinderMob mob, int radius, int yRange, Vec3 vectorPosition) static booleanGoalUtils.hasMalus(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isOutsideLimits(BlockPos pos, PathfinderMob mob) static booleanGoalUtils.isRestricted(boolean shortCircuit, PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isSolid(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.isWater(PathfinderMob mob, BlockPos pos) static booleanGoalUtils.mobRestricted(PathfinderMob mob, int radius) static BlockPosLandRandomPos.movePosUpOutOfSolid(PathfinderMob mob, BlockPos pos) -
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 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 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 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