Class HorseBondWithPlayerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.HorseBondWithPlayerGoal

public class HorseBondWithPlayerGoal
extends Goal
  • Field Details

    • horse

      private final HorseBaseEntity horse
    • speed

      private final double speed
    • targetX

      private double targetX
    • targetY

      private double targetY
    • targetZ

      private double targetZ
  • Constructor Details

    • HorseBondWithPlayerGoal

      public HorseBondWithPlayerGoal​(HorseBaseEntity horse, double speed)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal