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 cak
  • 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 Lcak;a:Lbul;
    • 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 Lcak;b:Lbtn;
    • 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 Lcak;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 Lcak;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 Lcak;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 Lcak;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 Lcak;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> Lcak;<init>(Lbul;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 Lcam;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 Lcam;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 Lcam;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 Lcam;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 Lcam;a()V