static class SpiderEntity.AttackGoal extends MeleeAttackGoal
Goal.ControlattackIntervalTicks, mob, ticksUntilAttack| Constructor and Description |
|---|
AttackGoal(SpiderEntity spider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected double |
getSquaredMaxAttackDistance(LivingEntity entity) |
boolean |
shouldContinue() |
attack, start, stop, tickcanStop, getControls, setControls, toStringpublic AttackGoal(SpiderEntity spider)
public boolean canStart()
canStart in class MeleeAttackGoalpublic boolean shouldContinue()
shouldContinue in class MeleeAttackGoalprotected double getSquaredMaxAttackDistance(LivingEntity entity)
getSquaredMaxAttackDistance in class MeleeAttackGoal