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.GroundPathNavigation
avoidSunFields inherited from class net.minecraft.world.entity.ai.navigation.PathNavigation
hasDelayedRecomputation, isStuck, lastStuckCheck, lastStuckCheckPos, lastTimeoutCheck, level, MAX_TIME_RECOMPUTE, maxDistanceToWaypoint, maxVisitedNodesMultiplier, mob, nodeEvaluator, path, pathFinder, reachRange, speedModifier, STUCK_CHECK_INTERVAL, STUCK_THRESHOLD_DISTANCE_FACTOR, targetPos, tick, timeLastRecompute, timeoutCachedNode, timeoutLimit, timeoutTimer -
Constructor Summary
ConstructorsConstructorDescriptionPixelmonGroundPathNavigation(net.minecraft.world.entity.Mob mob, net.minecraft.world.level.Level level) -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.minecraft.world.level.pathfinder.PathFindercreatePathFinder(int maxVisitedNodes) voidnet.minecraft.world.phys.Vec3booleanshouldTargetNextNodeInDirection(net.minecraft.world.phys.Vec3 p_234112_1_) voidtick()Methods inherited from class net.minecraft.world.entity.ai.navigation.GroundPathNavigation
canOpenDoors, canPassDoors, createPath, createPath, hasValidPathType, setAvoidSun, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences, trimPathMethods 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, moveTo, recomputePath, resetMaxVisitedNodesMultiplier, setCanFloat, setMaxVisitedNodesMultiplier, setSpeedModifier, shouldRecomputePath, stop
-
Constructor Details
-
PixelmonGroundPathNavigation
public PixelmonGroundPathNavigation(net.minecraft.world.entity.Mob mob, net.minecraft.world.level.Level level)
-
-
Method Details
-
canUpdatePath
public boolean canUpdatePath()- Overrides:
canUpdatePathin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
createPathFinder
public net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int maxVisitedNodes) - Overrides:
createPathFinderin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
getTempMobPos
public net.minecraft.world.phys.Vec3 getTempMobPos()- Overrides:
getTempMobPosin classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
followThePath
public void followThePath()- Overrides:
followThePathin classnet.minecraft.world.entity.ai.navigation.PathNavigation
-
shouldTargetNextNodeInDirection
public boolean shouldTargetNextNodeInDirection(net.minecraft.world.phys.Vec3 p_234112_1_)
-