public class PathNavigateSwimmer extends PathNavigate
currentPath, nodeProcessor, speed, theEntity, world| Constructor and Description |
|---|
PathNavigateSwimmer(EntityLiving entitylivingIn,
World worldIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEntityStandOnPos(BlockPos pos) |
protected boolean |
canNavigate()
If on ground or swimming and can swim
|
protected Vec3d |
getEntityPosition() |
protected PathFinder |
getPathFinder() |
protected boolean |
isDirectPathBetweenPoints(Vec3d posVec31,
Vec3d posVec32,
int sizeX,
int sizeY,
int sizeZ)
Checks if the specified entity can safely walk to the specified location.
|
protected void |
pathFollow() |
canUpdatePathOnTimeout, checkForStuck, clearPathEntity, getNodeProcessor, getPath, getPathSearchRange, getPathToEntityLiving, getPathToPos, getPathToXYZ, isInLiquid, noPath, onUpdateNavigation, removeSunnyPath, setPath, setSpeed, 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 PathNavigateprotected void pathFollow()
pathFollow 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 PathNavigate