Class PixelmonGroundPathNavigation
java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
com.pixelmonmod.pixelmon.ai.naivgator.PixelmonGroundPathNavigation
public class PixelmonGroundPathNavigation
extends net.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
hasDelayedRecomputation, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, maxDistanceToWaypoint, mob, nodeEvaluator, path, pathFinder, speedModifier, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer
-
Constructor Summary
ConstructorDescriptionPixelmonGroundPathNavigation
(net.minecraft.world.entity.Mob p_i45875_1_, net.minecraft.world.level.Level p_i45875_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
net.minecraft.world.phys.Vec3
boolean
shouldTargetNextNodeInDirection
(net.minecraft.world.phys.Vec3 p_234112_1_) void
tick()
Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, canUpdatePath, createPath, createPath, createPathFinder, getSurfaceY, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences, trimPath
Methods inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
canCutCorner, canFloat, canMoveDirectly, createPath, createPath, createPath, createPath, createPath, createPath, doStuckDetection, getGroundY, getMaxDistanceToWaypoint, getNodeEvaluator, getPath, getTargetPos, isClearForMovementBetween, isDone, isInProgress, isStableDestination, isStuck, moveTo, moveTo, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, resetStuckTimeout, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop, timeoutPath
-
Constructor Details
-
PixelmonGroundPathNavigation
public PixelmonGroundPathNavigation(net.minecraft.world.entity.Mob p_i45875_1_, net.minecraft.world.level.Level p_i45875_2_)
-
-
Method Details
-
tick
public void tick()- Overrides:
tick
in classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
getTempMobPos
public net.minecraft.world.phys.Vec3 getTempMobPos()- Overrides:
getTempMobPos
in classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
followThePath
public void followThePath()- Overrides:
followThePath
in classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
shouldTargetNextNodeInDirection
public boolean shouldTargetNextNodeInDirection(net.minecraft.world.phys.Vec3 p_234112_1_) - Overrides:
shouldTargetNextNodeInDirection
in classnet.minecraft.world.entity.ai.navigation.PathNavigation
-