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.Spider.SpiderAttackGoal
- Enclosing class:
Spider
-
Nested Class Summary
-
Field Summary
Fields inherited from class MeleeAttackGoal
mob -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MeleeAttackGoal
canPerformAttack, checkAndPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown, start, stop, tickMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
SpiderAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classMeleeAttackGoal
-