Package net.minecraft.entity.ai.goal
Class GoToWalkTargetGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.GoToWalkTargetGoal
public class GoToWalkTargetGoal extends Goal
- Mappings:
Namespace Name official axm
intermediary net/minecraft/class_1370
named net/minecraft/entity/ai/goal/GoToWalkTargetGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description GoToWalkTargetGoal(PathAwareEntity mob, double speed)
-
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
Laxm;a:Larq;
intermediary field_6536
Lnet/minecraft/class_1370;field_6536:Lnet/minecraft/class_1314;
named mob
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
-
x
private double x- Mappings:
Namespace Name Mixin selector official b
Laxm;b:D
intermediary field_6535
Lnet/minecraft/class_1370;field_6535:D
named x
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official c
Laxm;c:D
intermediary field_6534
Lnet/minecraft/class_1370;field_6534:D
named y
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official d
Laxm;d:D
intermediary field_6533
Lnet/minecraft/class_1370;field_6533:D
named z
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;z:D
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official e
Laxm;e:D
intermediary field_6537
Lnet/minecraft/class_1370;field_6537:D
named speed
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;speed:D
-
-
Constructor Details
-
GoToWalkTargetGoal
- Mappings:
Namespace Name Mixin selector official <init>
Laxm;<init>(Larq;D)V
intermediary <init>
Lnet/minecraft/class_1370;<init>(Lnet/minecraft/class_1314;D)V
named <init>
Lnet/minecraft/entity/ai/goal/GoToWalkTargetGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)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()
-