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
-
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 booleancanStart()booleanshouldContinue()voidstart()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, toString
-
Field Details
-
horse
-
speed
private final double speed -
targetX
private double targetX -
targetY
private double targetY -
targetZ
private double targetZ
-
-
Constructor Details
-
HorseBondWithPlayerGoal
-
-
Method Details