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 official bep
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 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, canStart, getCooldown, getMaxCooldown, getSquaredMaxAttackDistance, 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 official b
Lbep;b:Lbme;
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
Lbep;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>
Lbep;<init>(Lbme;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
Lbdb;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
Lbdb;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
Lbdb;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-