public class GoToVillageGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private PathAwareEntity |
mob |
private int |
searchRange |
private BlockPos |
targetPosition |
Constructor and Description |
---|
GoToVillageGoal(PathAwareEntity mob,
int searchRange) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
private void |
findOtherWaypoint() |
boolean |
shouldContinue() |
void |
tick() |
canStop, getControls, setControls, start, stop, toString
private final PathAwareEntity mob
private final int searchRange
public GoToVillageGoal(PathAwareEntity mob, int searchRange)