Class Spider.SpiderAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.monster.Spider.SpiderAttackGoal
- Enclosing class:
- Spider
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
protected double
getAttackReachSqr
(LivingEntity p_33825_) Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
checkAndPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
SpiderAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMeleeAttackGoal
-
getAttackReachSqr
- Overrides:
getAttackReachSqr
in classMeleeAttackGoal
-