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.DrownedAttackGoal
- Mappings:
Namespace Name named net/minecraft/entity/ai/goal/ZombieAttackGoal
intermediary net/minecraft/class_1396
official cce
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
ConstructorDescriptionZombieAttackGoal
(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, canAttack, canStart, getCooldown, getMaxCooldown, isCooledDown, resetCooldown, shouldContinue, shouldRunEveryTick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, toGoalTicks, toString
-
Field Details
-
zombie
- Mappings:
Namespace Name Mixin selector named zombie
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;zombie:Lnet/minecraft/entity/mob/ZombieEntity;
intermediary field_6628
Lnet/minecraft/class_1396;field_6628:Lnet/minecraft/class_1642;
official b
Lcce;b:Lcky;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector named ticks
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;ticks:I
intermediary field_6627
Lnet/minecraft/class_1396;field_6627:I
official c
Lcce;c:I
-
-
Constructor Details
-
ZombieAttackGoal
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;DZ)V
intermediary <init>
Lnet/minecraft/class_1396;<init>(Lnet/minecraft/class_1642;DZ)V
official <init>
Lcce;<init>(Lcky;DZ)V
-
-
Method Details
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
official c
Lcap;c()V
-
stop
public void stop()- Overrides:
stop
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector named stop
Lnet/minecraft/entity/ai/goal/Goal;stop()V
intermediary method_6270
Lnet/minecraft/class_1352;method_6270()V
official d
Lcap;d()V
-
tick
public void tick()- Overrides:
tick
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
official e
Lcap;e()V
-