Class Drowned.DrownedAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.ai.goal.ZombieAttackGoal
net.minecraft.world.entity.monster.zombie.Drowned.DrownedAttackGoal
- Enclosing class:
Drowned
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class MeleeAttackGoal
mob -
Constructor Summary
ConstructorsConstructorDescriptionDrownedAttackGoal(Drowned drowned, double speedModifier, boolean trackTarget) -
Method Summary
Methods inherited from class ZombieAttackGoal
start, stop, tickMethods inherited from class MeleeAttackGoal
canPerformAttack, checkAndPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldownMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, toString
-
Field Details
-
drowned
-
-
Constructor Details
-
DrownedAttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUsein classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classMeleeAttackGoal
-