static class SpiderEntity.AttackGoal extends MeleeAttackGoal
Goal.Controlmob| Constructor and Description |
|---|
AttackGoal(SpiderEntity spider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart() |
protected double |
getSquaredMaxAttackDistance(LivingEntity entity) |
boolean |
shouldContinue() |
attack, method_28346, method_28347, method_28348, method_28349, 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