class PolarBearEntity.AttackGoal extends MeleeAttackGoal
Goal.Control
mob
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, tick
canStop, getControls, setControls, toString
protected void attack(LivingEntity target, double squaredDistance)
attack
in class MeleeAttackGoal
public void stop()
stop
in class MeleeAttackGoal
protected double getSquaredMaxAttackDistance(LivingEntity entity)
getSquaredMaxAttackDistance
in class MeleeAttackGoal