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
avoidSun
Fields 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 TypeMethodDescriptionboolean
net.minecraft.world.level.pathfinder.PathFinder
createPathFinder
(int maxVisitedNodes) void
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, createPath, createPath, 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, 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:
canUpdatePath
in classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
createPathFinder
public net.minecraft.world.level.pathfinder.PathFinder createPathFinder(int maxVisitedNodes) - Overrides:
createPathFinder
in classnet.minecraft.world.entity.ai.navigation.GroundPathNavigation
-
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_)
-