class FoxEntity.BiteGoal extends MeleeAttackGoal
attacker, attackInterval, attackTick| Constructor and Description |
|---|
BiteGoal(double p_i50731_2_,
boolean p_i50731_4_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAndPerformAttack(LivingEntity enemy,
double distToEnemySqr) |
boolean |
shouldExecute() |
void |
startExecuting() |
getAttackReachSqr, resetTask, shouldContinueExecuting, tickgetMutexFlags, isPreemptible, setMutexFlags, toStringprotected void checkAndPerformAttack(LivingEntity enemy, double distToEnemySqr)
checkAndPerformAttack in class MeleeAttackGoalpublic void startExecuting()
startExecuting in class MeleeAttackGoalpublic boolean shouldExecute()
shouldExecute in class MeleeAttackGoal