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 cbp
-
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
Lcbp;b:Lckk;
-
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
Lcbp;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>
Lcbp;<init>(Lckk;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
Lcaa;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
Lcaa;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
Lcaa;e()V
-