Package net.minecraft.entity.mob
Class DrownedEntity.DrownedAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.goal.ZombieAttackGoal
net.minecraft.entity.mob.DrownedEntity.DrownedAttackGoal
- Enclosing class:
- DrownedEntity
static class DrownedEntity.DrownedAttackGoal extends ZombieAttackGoal
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description private DrownedEntitydrowned -
Constructor Summary
Constructors Constructor Description DrownedAttackGoal(DrownedEntity drowned, double speed, boolean pauseWhenMobIdle) -
Method Summary
Modifier and Type Method Description booleancanStart()booleanshouldContinue()Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
Constructor Details
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMeleeAttackGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMeleeAttackGoal
-