static class PandaEntity.AttackGoal extends MeleeAttackGoal
| Modifier and Type | Field and Description |
|---|---|
private PandaEntity |
panda |
attacker, attackInterval, attackTick| Constructor and Description |
|---|
AttackGoal(PandaEntity pandaIn,
double speedIn,
boolean useLongMemory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
checkAndPerformAttack, getAttackReachSqr, resetTask, shouldContinueExecuting, startExecuting, tickgetMutexFlags, isPreemptible, setMutexFlags, toStringprivate final PandaEntity panda
public AttackGoal(PandaEntity pandaIn, double speedIn, boolean useLongMemory)
public boolean shouldExecute()
shouldExecute in class MeleeAttackGoal