public class SwimmerPathNavigator extends PathNavigator
| Modifier and Type | Field and Description |
|---|---|
private boolean |
field_205155_i |
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world| Constructor and Description |
|---|
SwimmerPathNavigator(MobEntity entitylivingIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEntityStandOnPos(BlockPos pos) |
protected boolean |
canNavigate() |
protected void |
checkForStuck(Vec3d positionVec3) |
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder(int p_179679_1_) |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
protected void |
pathFollow() |
void |
setCanSwim(boolean canSwim) |
void |
tick() |
canUpdatePathOnTimeout, clearPath, func_220970_c, func_225463_a, func_225464_a, func_226337_n_, getCanSwim, getNodeProcessor, getPath, getPathToEntity, getPathToPos, getPathToPos, getTargetPos, isInLiquid, noPath, resetRangeMultiplier, setPath, setRangeMultiplier, setSpeed, trimPath, tryMoveToEntityLiving, tryMoveToXYZ, updatePathprotected PathFinder getPathFinder(int p_179679_1_)
getPathFinder in class PathNavigatorprotected boolean canNavigate()
canNavigate in class PathNavigatorprotected Vec3d getEntityPosition()
getEntityPosition in class PathNavigatorpublic void tick()
tick in class PathNavigatorprotected void pathFollow()
pathFollow in class PathNavigatorprotected void checkForStuck(Vec3d positionVec3)
checkForStuck in class PathNavigatorprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigatorpublic boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos in class PathNavigatorpublic void setCanSwim(boolean canSwim)
setCanSwim in class PathNavigator