Package net.minecraft.entity.ai.goal
Class ZombieAttackGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MeleeAttackGoal
net.minecraft.entity.ai.goal.ZombieAttackGoal
- Direct Known Subclasses:
DrownedEntity.AttackGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
ConstructorDescriptionZombieAttackGoal
(ZombieEntity p_i46803_1_, double p_i46803_2_, boolean p_i46803_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canUse, checkAndPerformAttack, getAttackInterval, getAttackReachSqr, getTicksUntilNextAttack, isTimeToAttack, resetAttackCooldown
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
zombie
-
raiseArmTicks
private int raiseArmTicks
-
-
Constructor Details
-
ZombieAttackGoal
-
-
Method Details
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
-
stop
public void stop()- Overrides:
stop
in classMeleeAttackGoal
-
tick
public void tick()- Overrides:
tick
in classMeleeAttackGoal
-