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