static class SpiderEntity.AttackGoal extends MeleeAttackGoal
Goal.Control
attackIntervalTicks, 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, tick
canStop, getControls, setControls, toString
public AttackGoal(SpiderEntity spider)
public boolean canStart()
canStart
in class MeleeAttackGoal
public boolean shouldContinue()
shouldContinue
in class MeleeAttackGoal
protected double getSquaredMaxAttackDistance(LivingEntity entity)
getSquaredMaxAttackDistance
in class MeleeAttackGoal