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, updatePathpublic PathNavigateSwimmer(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder in class PathNavigateprotected boolean canNavigate()
canNavigate in class PathNavigateprotected Vec3d getEntityPosition()
getEntityPosition in class PathNavigatepublic void tick()
tick in class PathNavigateprotected void pathFollow()
pathFollow in class PathNavigateprotected void checkForStuck(Vec3d positionVec3)
checkForStuck in class PathNavigateprotected boolean isDirectPathBetweenPoints(Vec3d posVec31, Vec3d posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigatepublic boolean canEntityStandOnPos(BlockPos pos)
canEntityStandOnPos in class PathNavigatepublic void setCanSwim(boolean canSwim)
setCanSwim in class PathNavigate