public class TraderLlamaEntity.DefendTraderGoal extends TrackTargetGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private LlamaEntity |
llama |
private LivingEntity |
offender |
private int |
traderLastAttackedTime |
checkVisibility, maxTimeWithoutVisibility, mob, target
Constructor and Description |
---|
DefendTraderGoal(LlamaEntity llama) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
void |
start() |
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
canStop, getControls, setControls, tick, toString
private final LlamaEntity llama
private LivingEntity offender
private int traderLastAttackedTime
public DefendTraderGoal(LlamaEntity llama)
public void start()
start
in class TrackTargetGoal