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
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
protected double
getAttackReachSqr
(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 Details
-
AttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMeleeAttackGoal
-
getAttackReachSqr
- Overrides:
getAttackReachSqr
in classMeleeAttackGoal
-