Package net.minecraft.entity.monster
Class SpiderEntity.AttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MeleeAttackGoal
-
- net.minecraft.entity.monster.SpiderEntity.AttackGoal
-
- Enclosing class:
- SpiderEntity
static class SpiderEntity.AttackGoal extends MeleeAttackGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
Constructor Summary
Constructors Constructor Description AttackGoal(SpiderEntity p_i46676_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()protected doublegetAttackReachSqr(LivingEntity p_179512_1_)-
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
checkAndPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown, start, stop, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Constructor Detail
-
AttackGoal
public AttackGoal(SpiderEntity p_i46676_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUsein classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classMeleeAttackGoal
-
getAttackReachSqr
protected double getAttackReachSqr(LivingEntity p_179512_1_)
- Overrides:
getAttackReachSqrin classMeleeAttackGoal
-
-