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
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canPerformAttack, 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
-