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
public class ZombieAttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official ayo
intermediary net/minecraft/class_1396
named net/minecraft/entity/ai/goal/ZombieAttackGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private int
ticks
private ZombieEntity
zombie
Fields inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
Constructor Summary
Constructors Constructor Description ZombieAttackGoal(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, canStart, getSquaredMaxAttackDistance, method_28346, method_28347, method_28348, method_28349, shouldContinue
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
zombie
- Mappings:
Namespace Name Mixin selector official b
Layo;b:Lbfy;
intermediary field_6628
Lnet/minecraft/class_1396;field_6628:Lnet/minecraft/class_1642;
named zombie
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;zombie:Lnet/minecraft/entity/mob/ZombieEntity;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official c
Layo;c:I
intermediary field_6627
Lnet/minecraft/class_1396;field_6627:I
named ticks
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;ticks:I
-
-
Constructor Details
-
ZombieAttackGoal
- Mappings:
Namespace Name Mixin selector official <init>
Layo;<init>(Lbfy;DZ)V
intermediary <init>
Lnet/minecraft/class_1396;<init>(Lnet/minecraft/class_1642;DZ)V
named <init>
Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;DZ)V
-
-
Method Details
-
start
public void start()- Overrides:
start
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official c
Lawx;c()V
intermediary method_6269
Lnet/minecraft/class_1352;method_6269()V
named start
Lnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()- Overrides:
stop
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official d
Lawx;d()V
intermediary method_6270
Lnet/minecraft/class_1352;method_6270()V
named stop
Lnet/minecraft/entity/ai/goal/Goal;stop()V
-
tick
public void tick()- Overrides:
tick
in classMeleeAttackGoal
- Mappings:
Namespace Name Mixin selector official e
Lawx;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-