Class FollowOwnerGoal

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

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

    • tameable

      private final TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      named tameable Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
      intermediary field_6448 Lnet/minecraft/class_1350;field_6448:Lnet/minecraft/class_1321;
      official a Lcai;a:Lbuj;
    • owner

      Mappings:
      Namespace Name Mixin selector
      named owner Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;owner:Lnet/minecraft/entity/LivingEntity;
      intermediary field_6444 Lnet/minecraft/class_1350;field_6444:Lnet/minecraft/class_1309;
      official b Lcai;b:Lbtl;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;speed:D
      intermediary field_6442 Lnet/minecraft/class_1350;field_6442:D
      official c Lcai;c:D
    • updateCountdownTicks

      private int updateCountdownTicks
      Mappings:
      Namespace Name Mixin selector
      named updateCountdownTicks Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
      intermediary field_6443 Lnet/minecraft/class_1350;field_6443:I
      official e Lcai;e:I
    • maxDistance

      private final float maxDistance
      Mappings:
      Namespace Name Mixin selector
      named maxDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;maxDistance:F
      intermediary field_6450 Lnet/minecraft/class_1350;field_6450:F
      official f Lcai;f:F
    • minDistance

      private final float minDistance
      Mappings:
      Namespace Name Mixin selector
      named minDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
      intermediary field_6449 Lnet/minecraft/class_1350;field_6449:F
      official g Lcai;g:F
    • oldWaterPathfindingPenalty

      private float oldWaterPathfindingPenalty
      Mappings:
      Namespace Name Mixin selector
      named oldWaterPathfindingPenalty Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;oldWaterPathfindingPenalty:F
      intermediary field_6447 Lnet/minecraft/class_1350;field_6447:F
      official h Lcai;h:F
  • Constructor Details

    • FollowOwnerGoal

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

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcak;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcak;c()Z
    • start

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

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcak;e()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcak;a()V