Package net.minecraft.entity.ai.goal
Class HorseBondWithPlayerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.HorseBondWithPlayerGoal
public class HorseBondWithPlayerGoal extends Goal
- Mappings:
Namespace Name official ayc
intermediary net/minecraft/class_1387
named net/minecraft/entity/ai/goal/HorseBondWithPlayerGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HorseBondWithPlayerGoal(HorseBaseEntity horse, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
horse
- Mappings:
Namespace Name Mixin selector official a
Layc;a:Lbcr;
intermediary field_6602
Lnet/minecraft/class_1387;field_6602:Lnet/minecraft/class_1496;
named horse
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;horse:Lnet/minecraft/entity/passive/HorseBaseEntity;
-
speed
private final double speed- Mappings:
Namespace Name Mixin selector official b
Layc;b:D
intermediary field_6601
Lnet/minecraft/class_1387;field_6601:D
named speed
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;speed:D
-
targetX
private double targetX- Mappings:
Namespace Name Mixin selector official c
Layc;c:D
intermediary field_6600
Lnet/minecraft/class_1387;field_6600:D
named targetX
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;targetX:D
-
targetY
private double targetY- Mappings:
Namespace Name Mixin selector official d
Layc;d:D
intermediary field_6599
Lnet/minecraft/class_1387;field_6599:D
named targetY
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;targetY:D
-
targetZ
private double targetZ- Mappings:
Namespace Name Mixin selector official e
Layc;e:D
intermediary field_6603
Lnet/minecraft/class_1387;field_6603:D
named targetZ
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;targetZ:D
-
-
Constructor Details
-
HorseBondWithPlayerGoal
- Mappings:
Namespace Name Mixin selector official <init>
Layc;<init>(Lbcr;D)V
intermediary <init>
Lnet/minecraft/class_1387;<init>(Lnet/minecraft/class_1496;D)V
named <init>
Lnet/minecraft/entity/ai/goal/HorseBondWithPlayerGoal;<init>(Lnet/minecraft/entity/passive/HorseBaseEntity;D)V
-
-
Method Details
-
canStart
public boolean canStart() -
start
public void start() -
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
-
tick
public void tick()
-