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
static class DrownedEntity.AttackGoal extends ZombieAttackGoal
-
-
Field Summary
Fields Modifier and Type Field Description private DrownedEntity
drowned
-
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
Constructor Summary
Constructors Constructor Description AttackGoal(DrownedEntity p_i48913_1_, double p_i48913_2_, boolean p_i48913_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
-
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 Detail
-
drowned
private final DrownedEntity drowned
-
-
Constructor Detail
-
AttackGoal
public AttackGoal(DrownedEntity p_i48913_1_, double p_i48913_2_, boolean p_i48913_4_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classMeleeAttackGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classMeleeAttackGoal
-
-