Class ZombieAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MeleeAttackGoal
net.minecraft.world.entity.ai.goal.ZombieAttackGoal
- Direct Known Subclasses:
Drowned.DrownedAttackGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.MeleeAttackGoal
canContinueToUse, canPerformAttack, canUse, checkAndPerformAttack, getAttackInterval, getTicksUntilNextAttack, isTimeToAttack, requiresUpdateEveryTick, resetAttackCooldown
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, 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
-