public class TrackIronGolemTargetGoal extends TrackTargetGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private IronGolemEntity |
golem |
private LivingEntity |
target |
private TargetPredicate |
targetPredicate |
checkVisibility, maxTimeWithoutVisibility, mob| Constructor and Description |
|---|
TrackIronGolemTargetGoal(IronGolemEntity golem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
void |
start() |
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stopcanStop, getControls, setControls, tick, toStringprivate final IronGolemEntity golem
private LivingEntity target
private final TargetPredicate targetPredicate
public TrackIronGolemTargetGoal(IronGolemEntity golem)
public void start()
start in class TrackTargetGoal