class PolarBearEntity.AttackGoal extends MeleeAttackGoal
Goal.Control
attackIntervalTicks, mob, ticksUntilAttack
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, 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