public class RaiderEntity.PatrolApproachGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
TargetPredicate |
closeRaiderPredicate |
private RaiderEntity |
raider |
private float |
squaredDistance |
Constructor and Description |
---|
PatrolApproachGoal(IllagerEntity illager,
float distance) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
void |
start() |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, shouldContinue, toString
private final RaiderEntity raider
private final float squaredDistance
public final TargetPredicate closeRaiderPredicate
public PatrolApproachGoal(IllagerEntity illager, float distance)