Uses of Class
net.minecraft.world.entity.PathfinderMob
Package
Description
-
Uses of PathfinderMob in net.minecraft.world.entity
ModifierConstructorDescriptionprotected
PathfinderMob
(EntityType<? extends PathfinderMob> p_21683_, Level p_21684_) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.behavior
Modifier and TypeFieldDescriptionprivate static final Predicate<PathfinderMob>
AnimalPanic.DEFAULT_SHOULD_PANIC_PREDICATE
private final Predicate<PathfinderMob>
AnimalPanic.shouldPanic
Modifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_259994_, MemoryModuleType<GlobalPos> p_259167_, boolean p_259077_, Optional<Byte> p_259824_) static BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_260007_, MemoryModuleType<GlobalPos> p_259129_, MemoryModuleType<GlobalPos> p_260194_, boolean p_259108_, Optional<Byte> p_260129_) static BehaviorControl<PathfinderMob>
InsideBrownianWalk.create
(float p_259775_) static BehaviorControl<PathfinderMob>
PlayTagWithOtherKids.create()
static BehaviorControl<PathfinderMob>
SetClosestHomeAsWalkTarget.create
(float p_259960_) private static <T> OneShot<PathfinderMob>
SetWalkTargetAwayFrom.create
(MemoryModuleType<T> p_260057_, float p_259672_, int p_259866_, boolean p_259232_, Function<T, Vec3> p_259355_) static OneShot<PathfinderMob>
StrollAroundPoi.create
(MemoryModuleType<GlobalPos> p_259159_, float p_260182_, int p_260102_) static BehaviorControl<PathfinderMob>
StrollToPoi.create
(MemoryModuleType<GlobalPos> p_259919_, float p_259285_, int p_259332_, int p_259904_) static BehaviorControl<PathfinderMob>
TryFindLand.create
(int p_259889_, float p_259302_) static BehaviorControl<PathfinderMob>
TryFindLandNearWater.create
(int p_259739_, float p_259118_) static BehaviorControl<PathfinderMob>
TryFindWater.create
(int p_259298_, float p_259140_) static OneShot<PathfinderMob>
VillageBoundRandomStroll.create
(float p_260156_) static OneShot<PathfinderMob>
VillageBoundRandomStroll.create
(float p_259320_, int p_259708_, int p_259311_) static OneShot<PathfinderMob>
SetWalkTargetAwayFrom.entity
(MemoryModuleType<? extends Entity> p_259598_, float p_260183_, int p_260077_, boolean p_259761_) static BehaviorControl<PathfinderMob>
RandomStroll.fly
(float p_259119_) static BehaviorControl<PathfinderMob>
SetWalkTargetAwayFrom.pos
(MemoryModuleType<BlockPos> p_259330_, float p_259719_, int p_259965_, boolean p_259828_) static OneShot<PathfinderMob>
RandomStroll.stroll
(float p_260304_) static OneShot<PathfinderMob>
RandomStroll.stroll
(float p_260303_, boolean p_259639_) static BehaviorControl<PathfinderMob>
RandomStroll.stroll
(float p_260204_, int p_259502_, int p_259891_) private static OneShot<PathfinderMob>
RandomStroll.strollFlyOrSwim
(float p_260030_, Function<PathfinderMob, Vec3> p_259912_, Predicate<PathfinderMob> p_259088_) static BehaviorControl<PathfinderMob>
RandomStroll.swim
(float p_259469_) Modifier and TypeMethodDescriptionPrepareRamNearestTarget.calculateRammingStartPosition
(PathfinderMob p_147743_, LivingEntity p_147744_) private static boolean
YieldJobSite.canReachPos
(PathfinderMob p_260080_, BlockPos p_259875_, PoiType p_259606_) protected boolean
AnimalPanic.canStillUse
(ServerLevel p_147391_, PathfinderMob p_147392_, long p_147393_) protected boolean
FollowTemptation.canStillUse
(ServerLevel p_147494_, PathfinderMob p_147495_, long p_147496_) protected boolean
PrepareRamNearestTarget.canStillUse
(ServerLevel p_147773_, PathfinderMob p_147774_, long p_147775_) protected boolean
AnimalPanic.checkExtraStartConditions
(ServerLevel p_275286_, PathfinderMob p_275721_) private void
PrepareRamNearestTarget.chooseRamPosition
(PathfinderMob p_147766_, LivingEntity p_147767_) private Vec3
AnimalPanic.getPanicPos
(PathfinderMob p_196639_, ServerLevel p_196640_) static Vec3
BehaviorUtils.getRandomSwimmablePos
(PathfinderMob p_147445_, int p_147446_, int p_147447_) protected float
FollowTemptation.getSpeedModifier
(PathfinderMob p_147498_) private static Vec3
RandomStroll.getTargetFlyPos
(PathfinderMob p_260316_, int p_259038_, int p_259696_) private static Vec3
RandomStroll.getTargetSwimPos
(PathfinderMob p_259491_) FollowTemptation.getTemptingPlayer
(PathfinderMob p_147509_) private boolean
PrepareRamNearestTarget.isWalkableBlock
(PathfinderMob p_147746_, BlockPos p_147747_) protected void
AnimalPanic.start
(ServerLevel p_147399_, PathfinderMob p_147400_, long p_147401_) protected void
FollowTemptation.start
(ServerLevel p_147505_, PathfinderMob p_147506_, long p_147507_) protected void
PrepareRamNearestTarget.start
(ServerLevel p_147736_, PathfinderMob p_147737_, long p_147738_) protected void
AnimalPanic.stop
(ServerLevel p_217118_, PathfinderMob p_217119_, long p_217120_) protected void
FollowTemptation.stop
(ServerLevel p_147515_, PathfinderMob p_147516_, long p_147517_) protected void
AnimalPanic.tick
(ServerLevel p_147403_, PathfinderMob p_147404_, long p_147405_) protected void
FollowTemptation.tick
(ServerLevel p_147523_, PathfinderMob p_147524_, long p_147525_) Modifier and TypeMethodDescriptionprivate static OneShot<PathfinderMob>
RandomStroll.strollFlyOrSwim
(float p_260030_, Function<PathfinderMob, Vec3> p_259912_, Predicate<PathfinderMob> p_259088_) private static OneShot<PathfinderMob>
RandomStroll.strollFlyOrSwim
(float p_260030_, Function<PathfinderMob, Vec3> p_259912_, Predicate<PathfinderMob> p_259088_) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.goal
Modifier 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
Modifier and TypeMethodDescriptionprotected int
CatLieOnBedGoal.nextStartTick
(PathfinderMob p_25140_) protected int
MoveToBlockGoal.nextStartTick
(PathfinderMob p_25618_) ModifierConstructorDescriptionAvoidEntityGoal
(PathfinderMob p_25027_, Class<T> p_25028_, float p_25029_, double p_25030_, double p_25031_) AvoidEntityGoal
(PathfinderMob p_25033_, Class<T> p_25034_, float p_25035_, double p_25036_, double p_25037_, Predicate<LivingEntity> p_25038_) AvoidEntityGoal
(PathfinderMob p_25040_, Class<T> p_25041_, Predicate<LivingEntity> p_25042_, float p_25043_, double p_25044_, double p_25045_, Predicate<LivingEntity> p_25046_) BreathAirGoal
(PathfinderMob p_25103_) FleeSunGoal
(PathfinderMob p_25221_, double p_25222_) FollowBoatGoal
(PathfinderMob p_25238_) GolemRandomStrollInVillageGoal
(PathfinderMob p_25398_, double p_25399_) MeleeAttackGoal
(PathfinderMob p_25552_, double p_25553_, boolean p_25554_) MoveBackToVillageGoal
(PathfinderMob p_25568_, double p_25569_, boolean p_25570_) MoveThroughVillageGoal
(PathfinderMob p_25582_, double p_25583_, boolean p_25584_, int p_25585_, BooleanSupplier p_25586_) MoveToBlockGoal
(PathfinderMob p_25609_, double p_25610_, int p_25611_) MoveToBlockGoal
(PathfinderMob p_25613_, double p_25614_, int p_25615_, int p_25616_) MoveTowardsRestrictionGoal
(PathfinderMob p_25633_, double p_25634_) MoveTowardsTargetGoal
(PathfinderMob p_25646_, double p_25647_, float p_25648_) PanicGoal
(PathfinderMob p_25691_, double p_25692_) RandomStrollGoal
(PathfinderMob p_25734_, double p_25735_) RandomStrollGoal
(PathfinderMob p_25737_, double p_25738_, int p_25739_) RandomStrollGoal
(PathfinderMob p_25741_, double p_25742_, int p_25743_, boolean p_25744_) RandomSwimmingGoal
(PathfinderMob p_25753_, double p_25754_, int p_25755_) RemoveBlockGoal
(Block p_25840_, PathfinderMob p_25841_, double p_25842_, int p_25843_) RestrictSunGoal
(PathfinderMob p_25861_) StrollThroughVillageGoal
(PathfinderMob p_25907_, int p_25908_) TemptGoal
(PathfinderMob p_25939_, double p_25940_, Ingredient p_25941_, boolean p_25942_) TryFindWaterGoal
(PathfinderMob p_25964_) WaterAvoidingRandomFlyingGoal
(PathfinderMob p_25981_, double p_25982_) WaterAvoidingRandomStrollGoal
(PathfinderMob p_25987_, double p_25988_) WaterAvoidingRandomStrollGoal
(PathfinderMob p_25990_, double p_25991_, float p_25992_) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.goal.target
-
Uses of PathfinderMob in net.minecraft.world.entity.ai.sensing
Modifier and TypeMethodDescriptionprotected void
TemptingSensor.doTick
(ServerLevel p_148331_, PathfinderMob p_148332_) -
Uses of PathfinderMob in net.minecraft.world.entity.ai.util
Modifier and TypeMethodDescriptionstatic BlockPos
AirAndWaterRandomPos.generateRandomPos
(PathfinderMob p_148366_, int p_148367_, int p_148368_, int p_148369_, double p_148370_, double p_148371_, double p_148372_, boolean p_148373_) static Vec3
RandomPos.generateRandomPos
(PathfinderMob p_148543_, Supplier<BlockPos> p_148544_) private static BlockPos
DefaultRandomPos.generateRandomPosTowardDirection
(PathfinderMob p_148437_, int p_148438_, boolean p_148439_, BlockPos p_148440_) static BlockPos
LandRandomPos.generateRandomPosTowardDirection
(PathfinderMob p_148514_, int p_148515_, boolean p_148516_, BlockPos p_148517_) static BlockPos
RandomPos.generateRandomPosTowardDirection
(PathfinderMob p_217864_, int p_217865_, RandomSource p_217866_, BlockPos p_217867_) static Vec3
AirAndWaterRandomPos.getPos
(PathfinderMob p_148358_, int p_148359_, int p_148360_, int p_148361_, double p_148362_, double p_148363_, double p_148364_) static Vec3
DefaultRandomPos.getPos
(PathfinderMob p_148404_, int p_148405_, int p_148406_) static Vec3
HoverRandomPos.getPos
(PathfinderMob p_148466_, int p_148467_, int p_148468_, double p_148469_, double p_148470_, float p_148471_, int p_148472_, int p_148473_) static Vec3
LandRandomPos.getPos
(PathfinderMob p_148489_, int p_148490_, int p_148491_) static Vec3
LandRandomPos.getPos
(PathfinderMob p_148504_, int p_148505_, int p_148506_, ToDoubleFunction<BlockPos> p_148507_) static Vec3
DefaultRandomPos.getPosAway
(PathfinderMob p_148408_, int p_148409_, int p_148410_, Vec3 p_148411_) static Vec3
LandRandomPos.getPosAway
(PathfinderMob p_148522_, int p_148523_, int p_148524_, Vec3 p_148525_) private static Vec3
LandRandomPos.getPosInDirection
(PathfinderMob p_148498_, int p_148499_, int p_148500_, Vec3 p_148501_, boolean p_148502_) static Vec3
AirRandomPos.getPosTowards
(PathfinderMob p_148388_, int p_148389_, int p_148390_, int p_148391_, Vec3 p_148392_, double p_148393_) static Vec3
DefaultRandomPos.getPosTowards
(PathfinderMob p_148413_, int p_148414_, int p_148415_, Vec3 p_148416_, double p_148417_) static Vec3
LandRandomPos.getPosTowards
(PathfinderMob p_148493_, int p_148494_, int p_148495_, Vec3 p_148496_) static boolean
GoalUtils.hasMalus
(PathfinderMob p_148459_, BlockPos p_148460_) static boolean
GoalUtils.isOutsideLimits
(BlockPos p_148452_, PathfinderMob p_148453_) static boolean
GoalUtils.isRestricted
(boolean p_148455_, PathfinderMob p_148456_, BlockPos p_148457_) static boolean
GoalUtils.isSolid
(PathfinderMob p_148462_, BlockPos p_148463_) static boolean
GoalUtils.isWater
(PathfinderMob p_148446_, BlockPos p_148447_) static boolean
GoalUtils.mobRestricted
(PathfinderMob p_148443_, int p_148444_) static BlockPos
LandRandomPos.movePosUpOutOfSolid
(PathfinderMob p_148519_, BlockPos p_148520_) -
Uses of PathfinderMob in net.minecraft.world.entity.animal
Modifier 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
ModifierConstructorDescription(package private)
BeeAttackGoal
(PathfinderMob p_27960_, double p_27961_, boolean p_27962_) ParrotWanderGoal
(PathfinderMob p_186224_, double p_186225_) -
Uses of PathfinderMob in net.minecraft.world.entity.animal.allay
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.axolotl
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.camel
Modifier and TypeMethodDescriptionprotected void
CamelAi.CamelPanic.start
(ServerLevel p_249530_, PathfinderMob p_248643_, long p_251124_) -
Uses of PathfinderMob in net.minecraft.world.entity.animal.frog
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.goat
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.horse
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Uses of PathfinderMob in net.minecraft.world.entity.animal.sniffer
-
Uses of PathfinderMob in net.minecraft.world.entity.boss.wither
-
Uses of PathfinderMob in net.minecraft.world.entity.monster
Modifier 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
ModifierConstructorDescriptionDrownedGoToWaterGoal
(PathfinderMob p_32425_, double p_32426_) VexCopyOwnerTargetGoal
(PathfinderMob p_34056_) (package private)
ZombieAttackTurtleEggGoal
(PathfinderMob p_34344_, double p_34345_, int p_34346_) -
Uses of PathfinderMob in net.minecraft.world.entity.monster.hoglin
-
Uses of PathfinderMob in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static BehaviorControl<PathfinderMob>
PiglinAi.avoidRepellent()
-
Uses of PathfinderMob in net.minecraft.world.entity.monster.warden
-
Uses of PathfinderMob in net.minecraft.world.entity.npc
-
Uses of PathfinderMob in net.minecraft.world.entity.raid