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