public class IronGolemLookGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private static TargetPredicate |
CLOSE_VILLAGER_PREDICATE |
private IronGolemEntity |
golem |
private int |
lookCountdown |
private VillagerEntity |
targetVillager |
Constructor and Description |
---|
IronGolemLookGoal(IronGolemEntity golem) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, toString
private static final TargetPredicate CLOSE_VILLAGER_PREDICATE
private final IronGolemEntity golem
private VillagerEntity targetVillager
private int lookCountdown
public IronGolemLookGoal(IronGolemEntity golem)
public boolean shouldContinue()
shouldContinue
in class Goal