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 bbc
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
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
zombie
- Mappings:
Namespace Name Mixin selector official b
Lbbc;b:Lbiq;
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
Lbbc;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>
Lbbc;<init>(Lbiq;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
Lazo;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
Lazo;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
Lazo;e()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
-