class PolarBearEntity.AttackGoal extends MeleeAttackGoal
Goal.Controlmob| Constructor and Description |
|---|
AttackGoal() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attack(LivingEntity target,
double squaredDistance) |
protected double |
getSquaredMaxAttackDistance(LivingEntity entity) |
void |
stop() |
canStart, method_28346, method_28347, method_28348, method_28349, shouldContinue, start, tickcanStop, getControls, setControls, toStringprotected void attack(LivingEntity target, double squaredDistance)
attack in class MeleeAttackGoalpublic void stop()
stop in class MeleeAttackGoalprotected double getSquaredMaxAttackDistance(LivingEntity entity)
getSquaredMaxAttackDistance in class MeleeAttackGoal