static class SpiderEntity.AttackGoal extends MeleeAttackGoal
attacker, attackInterval, attackTick| Constructor and Description |
|---|
AttackGoal(SpiderEntity spider) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getAttackReachSqr(LivingEntity attackTarget) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
checkAndPerformAttack, resetTask, startExecuting, tickgetMutexFlags, isPreemptible, setMutexFlags, toStringpublic AttackGoal(SpiderEntity spider)
public boolean shouldExecute()
shouldExecute in class MeleeAttackGoalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class MeleeAttackGoalprotected double getAttackReachSqr(LivingEntity attackTarget)
getAttackReachSqr in class MeleeAttackGoal