Package net.minecraft.entity.passive
Class TurtleEntity.TurtleSwimNavigation
java.lang.Object
net.minecraft.entity.ai.pathing.EntityNavigation
net.minecraft.entity.ai.pathing.SwimNavigation
net.minecraft.entity.passive.TurtleEntity.TurtleSwimNavigation
- Enclosing class:
- TurtleEntity
static class TurtleEntity.TurtleSwimNavigation extends SwimNavigation
-
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 TurtleSwimNavigation(TurtleEntity owner, World world)
-
Method Summary
Modifier and Type Method Description protected PathNodeNavigator
createPathNodeNavigator(int range)
protected boolean
isAtValidPosition()
boolean
isValidPosition(BlockPos pos)
Methods inherited from class net.minecraft.entity.ai.pathing.SwimNavigation
canPathDirectlyThrough, checkTimeouts, continueFollowingPath, getPos, setCanSwim, tick
Methods inherited from class net.minecraft.entity.ai.pathing.EntityNavigation
adjustPath, canSwim, findPathTo, findPathTo, findPathTo, findPathToAny, findPathToAny, getCurrentPath, getNodeMaker, getTargetPos, isFollowingPath, isIdle, isInLiquid, isNearPathStartPos, method_29934, onBlockChanged, recalculatePath, resetRangeMultiplier, setRangeMultiplier, setSpeed, shouldRecalculatePath, startMovingAlong, startMovingTo, startMovingTo, stop
-
Constructor Details
-
TurtleSwimNavigation
TurtleSwimNavigation(TurtleEntity owner, World world)
-
-
Method Details
-
isAtValidPosition
protected boolean isAtValidPosition()- Overrides:
isAtValidPosition
in classSwimNavigation
-
isValidPosition
- Overrides:
isValidPosition
in classSwimNavigation
-