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 bar
intermediary net/minecraft/class_1387
named net/minecraft/entity/ai/goal/HorseBondWithPlayerGoal
  • Field Details

    • horse

      private final HorseBaseEntity horse
      Mappings:
      Namespace Name Mixin selector
      official a Lbar;a:Lbfi;
      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 Lbar;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 Lbar;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 Lbar;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 Lbar;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

      public HorseBondWithPlayerGoal(HorseBaseEntity horse, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbar;<init>(Lbfi;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()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lazo;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lazo;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lazo;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()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lazo;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V