Package net.minecraft.entity.ai.goal
Class PounceAtTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.PounceAtTargetGoal
public class PounceAtTargetGoal extends Goal
- Mappings:
Namespace Name official axd
intermediary net/minecraft/class_1359
named net/minecraft/entity/ai/goal/PounceAtTargetGoal
-
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 MobEntity
mob
private LivingEntity
target
private float
velocity
-
Constructor Summary
Constructors Constructor Description PounceAtTargetGoal(MobEntity mob, float velocity)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, tick, toString
-
Field Details
-
mob
- Mappings:
Namespace Name Mixin selector official a
Laxd;a:Larj;
intermediary field_6476
Lnet/minecraft/class_1359;field_6476:Lnet/minecraft/class_1308;
named mob
Lnet/minecraft/entity/ai/goal/PounceAtTargetGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
-
target
- Mappings:
Namespace Name Mixin selector official b
Laxd;b:Lari;
intermediary field_6477
Lnet/minecraft/class_1359;field_6477:Lnet/minecraft/class_1309;
named target
Lnet/minecraft/entity/ai/goal/PounceAtTargetGoal;target:Lnet/minecraft/entity/LivingEntity;
-
velocity
private final float velocity- Mappings:
Namespace Name Mixin selector official c
Laxd;c:F
intermediary field_6475
Lnet/minecraft/class_1359;field_6475:F
named velocity
Lnet/minecraft/entity/ai/goal/PounceAtTargetGoal;velocity:F
-
-
Constructor Details
-
PounceAtTargetGoal
- Mappings:
Namespace Name Mixin selector official <init>
Laxd;<init>(Larj;F)V
intermediary <init>
Lnet/minecraft/class_1359;<init>(Lnet/minecraft/class_1308;F)V
named <init>
Lnet/minecraft/entity/ai/goal/PounceAtTargetGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;F)V
-
-
Method Details
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()
-