public class PathNavigateClimber extends PathNavigateGround
Modifier and Type | Field and Description |
---|---|
private BlockPos |
targetPosition
Current path navigation target
|
nodeProcessor
currentPath, speed, theEntity, worldObj
Constructor and Description |
---|
PathNavigateClimber(EntityLiving entityLivingIn,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
PathEntity |
getPathToEntityLiving(Entity entityIn)
Returns the path to the given EntityLiving.
|
PathEntity |
getPathToPos(BlockPos pos)
Returns path to given BlockPos
|
void |
onUpdateNavigation() |
boolean |
tryMoveToEntityLiving(Entity entityIn,
double speedIn)
Try to find and set a path to EntityLiving.
|
canNavigate, getAvoidsWater, getCanSwim, getEnterDoors, getEntityPosition, getPathFinder, isDirectPathBetweenPoints, removeSunnyPath, setAvoidSun, setAvoidsWater, setBreakDoors, setCanSwim, setEnterDoors
checkForStuck, clearPathEntity, getPath, getPathSearchRange, getPathToXYZ, isInLiquid, noPath, pathFollow, setHeightRequirement, setPath, setSpeed, tryMoveToXYZ
private BlockPos targetPosition
public PathNavigateClimber(EntityLiving entityLivingIn, World worldIn)
public PathEntity getPathToPos(BlockPos pos)
getPathToPos
in class PathNavigate
public PathEntity getPathToEntityLiving(Entity entityIn)
getPathToEntityLiving
in class PathNavigate
public boolean tryMoveToEntityLiving(Entity entityIn, double speedIn)
tryMoveToEntityLiving
in class PathNavigate
public void onUpdateNavigation()
onUpdateNavigation
in class PathNavigate