public class PathNavigateSwimmer extends PathNavigate
currentPath, entity, lastPosCheck, lastTimeoutCheck, lastTimeUpdated, maxDistanceToWaypoint, nodeProcessor, speed, ticksAtLastPos, timeoutCachedNode, timeoutLimit, timeoutTimer, totalTicks, tryUpdatePath, world
Constructor and Description |
---|
PathNavigateSwimmer(EntityLiving 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() |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ) |
protected void |
pathFollow() |
void |
setCanSwim(boolean canSwim) |
void |
tick() |
canUpdatePathOnTimeout, clearPath, debugPathFinding, getCanSwim, getNodeProcessor, getPath, getPathSearchRange, getPathToEntityLiving, getPathToPos, getPathToXYZ, getTargetPos, isInLiquid, noPath, setPath, setSpeed, trimPath, tryMoveToEntityLiving, tryMoveToXYZ, updatePath
public PathNavigateSwimmer(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder
in class PathNavigate
protected boolean canNavigate()
canNavigate
in class PathNavigate
protected Vec3d getEntityPosition()
getEntityPosition
in class PathNavigate
public void tick()
tick
in class PathNavigate
protected void pathFollow()
pathFollow
in class PathNavigate
protected void checkForStuck(Vec3d positionVec3)
checkForStuck
in class PathNavigate
protected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
in class PathNavigate
public boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos
in class PathNavigate
public void setCanSwim(boolean canSwim)
setCanSwim
in class PathNavigate