Class FollowOwnerGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowOwnerGoal
Direct Known Subclasses:
class_3374

public class FollowOwnerGoal extends Goal
Mappings:
Namespace Name
official agr
intermediary net/minecraft/class_894
named net/minecraft/entity/ai/goal/FollowOwnerGoal
  • Field Details

    • tameable

      private final TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      official b Lagr;b:Lafl;
      intermediary field_3495 Lnet/minecraft/class_894;field_3495:Lnet/minecraft/class_880;
      named tameable Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
    • owner

      private LivingEntity owner
      Mappings:
      Namespace Name Mixin selector
      official c Lagr;c:Lafa;
      intermediary field_6841 Lnet/minecraft/class_894;field_6841:Lnet/minecraft/class_1699;
      named owner Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
    • field_16856

      protected final RenderBlockView field_16856
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a:Layc;
      intermediary field_16856 Lnet/minecraft/class_894;field_16856:Lnet/minecraft/class_3599;
      named field_16856 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_16856:Lnet/minecraft/world/RenderBlockView;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official d Lagr;d:D
      intermediary field_6842 Lnet/minecraft/class_894;field_6842:D
      named speed Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
    • updateCountdownTicks

      private int updateCountdownTicks
      Mappings:
      Namespace Name Mixin selector
      official f Lagr;f:I
      intermediary field_3499 Lnet/minecraft/class_894;field_3499:I
      named updateCountdownTicks Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
    • maxDistance

      private final float maxDistance
      Mappings:
      Namespace Name Mixin selector
      official g Lagr;g:F
      intermediary field_3493 Lnet/minecraft/class_894;field_3493:F
      named maxDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
    • minDistance

      private final float minDistance
      Mappings:
      Namespace Name Mixin selector
      official h Lagr;h:F
      intermediary field_3494 Lnet/minecraft/class_894;field_3494:F
      named minDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
    • field_14576

      private float field_14576
      Mappings:
      Namespace Name Mixin selector
      official i Lagr;i:F
      intermediary field_14576 Lnet/minecraft/class_894;field_14576:F
      named field_14576 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_14576:F
  • Constructor Details

    • FollowOwnerGoal

      public FollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagr;<init>(Lafl;DFF)V
      intermediary <init> Lnet/minecraft/class_894;<init>(Lnet/minecraft/class_880;DFF)V
      named <init> Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;DFF)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      official b Lagt;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      official c Lagt;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      official d Lagt;d()V
      intermediary method_2745 Lnet/minecraft/class_896;method_2745()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lagt;e()V
      intermediary method_2746 Lnet/minecraft/class_896;method_2746()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • method_15080

      protected boolean method_15080(int int2, int int3, int int4, int int5, int int6)
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(IIIII)Z
      intermediary method_15080 Lnet/minecraft/class_894;method_15080(IIIII)Z
      named method_15080 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;method_15080(IIIII)Z