public class SpiderNavigation extends MobNavigation
| Modifier and Type | Field and Description |
|---|---|
private BlockPos |
targetPos |
currentNodeMs, currentNodeTimeout, currentPath, entity, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, shouldRecalculate, speed, tickCount, world| Constructor and Description |
|---|
SpiderNavigation(MobEntity mob,
World world) |
| Modifier and Type | Method and Description |
|---|---|
Path |
findPathTo(BlockPos target,
int distance) |
Path |
findPathTo(Entity entity,
int distance) |
boolean |
startMovingTo(Entity entity,
double speed) |
void |
tick() |
adjustPath, canEnterOpenDoors, canPathDirectlyThrough, canWalkOnPath, createPathNodeNavigator, getPos, isAtValidPosition, setAvoidSunlight, setCanPathThroughDoorscanSwim, checkTimeouts, continueFollowingPath, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getTargetPos, isFollowingPath, isIdle, isInLiquid, isNearPathStartPos, isValidPosition, method_29934, onBlockChanged, recalculatePath, resetRangeMultiplier, setCanSwim, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, stopprivate BlockPos targetPos
public Path findPathTo(BlockPos target, int distance)
findPathTo in class MobNavigationpublic Path findPathTo(Entity entity, int distance)
findPathTo in class MobNavigationpublic boolean startMovingTo(Entity entity, double speed)
startMovingTo in class EntityNavigationpublic void tick()
tick in class EntityNavigation