static class TurtleEntity.TurtleSwimNavigation extends SwimNavigation
currentNodeMs, currentNodeTimeout, currentPath, entity, lastActiveTickMs, lastNodePosition, lastRecalculateTime, nodeMaker, nodeReachProximity, pathStartPos, pathStartTime, shouldRecalculate, speed, tickCount, world| Constructor and Description |
|---|
TurtleSwimNavigation(TurtleEntity owner,
World world) |
| Modifier and Type | Method and Description |
|---|---|
protected PathNodeNavigator |
createPathNodeNavigator(int range) |
protected boolean |
isAtValidPosition() |
boolean |
isValidPosition(BlockPos pos) |
canPathDirectlyThrough, checkTimeouts, continueFollowingPath, getPos, setCanSwim, tickadjustPath, canSwim, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getTargetPos, isFollowingPath, isIdle, isInLiquid, isNearPathStartPos, method_29934, onBlockChanged, recalculatePath, resetRangeMultiplier, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, stopTurtleSwimNavigation(TurtleEntity owner, World world)
protected boolean isAtValidPosition()
isAtValidPosition in class SwimNavigationprotected PathNodeNavigator createPathNodeNavigator(int range)
createPathNodeNavigator in class SwimNavigationpublic boolean isValidPosition(BlockPos pos)
isValidPosition in class SwimNavigation