Package net.minecraft.entity.ai.pathing
Class SpiderNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.MobNavigation
net.minecraft.entity.ai.pathing.SpiderNavigation
public class SpiderNavigation extends MobNavigation
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
currentNodeMs, currentNodeTimeout, currentPath, entity, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, shouldRecalculate, speed, tickCount, world -
Constructor Summary
Constructors Constructor Description SpiderNavigation(MobEntity mob, World world) -
Method Summary
Modifier and Type Method Description PathfindPathTo(Entity entity, int distance)PathfindPathTo(BlockPos target, int distance)booleanstartMovingTo(Entity entity, double speed)voidtick()Methods inherited from class net.minecraft.entity.ai.pathing.MobNavigation
adjustPath, canEnterOpenDoors, canPathDirectlyThrough, canWalkOnPath, createPathNodeNavigator, getPos, isAtValidPosition, setAvoidSunlight, setCanPathThroughDoorsMethods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
canSwim, checkTimeouts, continueFollowingPath, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getTargetPos, isFollowingPath, isIdle, isInLiquid, isNearPathStartPos, isValidPosition, method_29934, onBlockChanged, recalculatePath, resetRangeMultiplier, setCanSwim, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, stop
-
Field Details
-
targetPos
-
-
Constructor Details
-
SpiderNavigation
-
-
Method Details
-
findPathTo
- Overrides:
findPathToin classMobNavigation
-
findPathTo
- Overrides:
findPathToin classMobNavigation
-
startMovingTo
- Overrides:
startMovingToin classEntityNavigation
-
tick
public void tick()- Overrides:
tickin classEntityNavigation
-