Package net.minecraft.entity.monster
Class DrownedEntity.AttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.goal.ZombieAttackGoal
net.minecraft.entity.monster.DrownedEntity.AttackGoal
- Enclosing class:
- DrownedEntity
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
ConstructorDescriptionAttackGoal
(DrownedEntity p_i48913_1_, double p_i48913_2_, boolean p_i48913_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ZombieAttackGoal
start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
checkAndPerformAttack, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
drowned
-
-
Constructor Details
-
AttackGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classMeleeAttackGoal
-