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, updatePath
protected PathFinder getPathFinder(int p_179679_1_)
getPathFinder
in class PathNavigator
protected boolean canNavigate()
canNavigate
in class PathNavigator
protected Vec3d getEntityPosition()
getEntityPosition
in class PathNavigator
public void tick()
tick
in class PathNavigator
protected void pathFollow()
pathFollow
in class PathNavigator
protected void checkForStuck(Vec3d positionVec3)
checkForStuck
in class PathNavigator
protected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
in class PathNavigator
public boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos
in class PathNavigator
public void setCanSwim(boolean canSwim)
setCanSwim
in class PathNavigator