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, tick
getMutexFlags, isPreemptible, setMutexFlags, toString
private final PandaEntity panda
public AttackGoal(PandaEntity pandaIn, double speedIn, boolean useLongMemory)
public boolean shouldExecute()
shouldExecute
in class MeleeAttackGoal