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, tick
getMutexFlags, isPreemptible, setMutexFlags, toString
protected void checkAndPerformAttack(LivingEntity enemy, double distToEnemySqr)
checkAndPerformAttack
in class MeleeAttackGoal
public void startExecuting()
startExecuting
in class MeleeAttackGoal
public boolean shouldExecute()
shouldExecute
in class MeleeAttackGoal