public class PathNavigateSwimmer extends PathNavigate
currentPath, speed, theEntity, worldObj
Constructor and Description |
---|
PathNavigateSwimmer(EntityLiving entitylivingIn,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canNavigate()
If on ground or swimming and can swim
|
protected Vec3 |
getEntityPosition() |
protected PathFinder |
getPathFinder() |
protected boolean |
isDirectPathBetweenPoints(Vec3 posVec31,
Vec3 posVec32,
int sizeX,
int sizeY,
int sizeZ)
Returns true when an entity of specified size could safely walk in a straight line between the two points.
|
protected void |
pathFollow() |
protected void |
removeSunnyPath()
Trims path data from the end to the first sun covered block
|
checkForStuck, clearPathEntity, getPath, getPathSearchRange, getPathToEntityLiving, getPathToPos, getPathToXYZ, isInLiquid, noPath, onUpdateNavigation, setHeightRequirement, setPath, setSpeed, tryMoveToEntityLiving, tryMoveToXYZ
public PathNavigateSwimmer(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder
in class PathNavigate
protected boolean canNavigate()
canNavigate
in class PathNavigate
protected Vec3 getEntityPosition()
getEntityPosition
in class PathNavigate
protected void pathFollow()
pathFollow
in class PathNavigate
protected void removeSunnyPath()
removeSunnyPath
in class PathNavigate
protected boolean isDirectPathBetweenPoints(Vec3 posVec31, Vec3 posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints
in class PathNavigate