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