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, tick
getMutexFlags, isPreemptible, setMutexFlags, toString
public AttackGoal(SpiderEntity spider)
public boolean shouldExecute()
shouldExecute
in class MeleeAttackGoal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class MeleeAttackGoal
protected double getAttackReachSqr(LivingEntity attackTarget)
getAttackReachSqr
in class MeleeAttackGoal