static class StriderEntity.GoBackToLavaGoal extends MoveToTargetPosGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private StriderEntity |
strider |
cooldown, lowestY, mob, speed, targetPos, tryingTime| Modifier | Constructor and Description |
|---|---|
private |
GoBackToLavaGoal(StriderEntity strider,
double speed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
BlockPos |
getTargetPos() |
protected boolean |
isTargetPos(WorldView world,
BlockPos pos) |
boolean |
shouldContinue() |
boolean |
shouldResetPath() |
findTargetPos, getDesiredSquaredDistanceToTarget, getInterval, hasReached, start, startMovingToTarget, tickcanStop, getControls, setControls, stop, toStringprivate final StriderEntity strider
private GoBackToLavaGoal(StriderEntity strider, double speed)
public BlockPos getTargetPos()
getTargetPos in class MoveToTargetPosGoalpublic boolean shouldContinue()
shouldContinue in class MoveToTargetPosGoalpublic boolean canStart()
canStart in class MoveToTargetPosGoalpublic boolean shouldResetPath()
shouldResetPath in class MoveToTargetPosGoalprotected boolean isTargetPos(WorldView world, BlockPos pos)
isTargetPos in class MoveToTargetPosGoal