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, tryMoveToXYZpublic PathNavigateSwimmer(EntityLiving entitylivingIn, World worldIn)
protected PathFinder getPathFinder()
getPathFinder in class PathNavigateprotected boolean canNavigate()
canNavigate in class PathNavigateprotected Vec3 getEntityPosition()
getEntityPosition in class PathNavigateprotected void pathFollow()
pathFollow in class PathNavigateprotected void removeSunnyPath()
removeSunnyPath in class PathNavigateprotected boolean isDirectPathBetweenPoints(Vec3 posVec31, Vec3 posVec32, int sizeX, int sizeY, int sizeZ)
isDirectPathBetweenPoints in class PathNavigate