public class OcelotAttackGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private int |
attackCountdown |
private MobEntity |
entity |
private LivingEntity |
target |
private IBlockReader |
world |
| Constructor and Description |
|---|
OcelotAttackGoal(MobEntity theEntityIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlags, startExecuting, toStringprivate final IBlockReader world
private final MobEntity entity
private LivingEntity target
private int attackCountdown
public OcelotAttackGoal(MobEntity theEntityIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goal