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
official rb
intermediary net/minecraft/class_894
named net/minecraft/entity/ai/goal/FollowOwnerGoal
  • Field Details

    • tameable

      private TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      official d Lrb;d:Lqa;
      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 e Lrb;e:Lpr;
      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;
    • world

      World world
      Mappings:
      Namespace Name Mixin selector
      official a Lrb;a:Ladm;
      intermediary field_3492 Lnet/minecraft/class_894;field_3492:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;world:Lnet/minecraft/world/World;
    • speed

      private double speed
      Mappings:
      Namespace Name Mixin selector
      official f Lrb;f: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 h Lrb;h:I
      intermediary field_3499 Lnet/minecraft/class_894;field_3499:I
      named updateCountdownTicks Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;updateCountdownTicks:I
    • maxDistance

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

      float minDistance
      Mappings:
      Namespace Name Mixin selector
      official c Lrb;c:F
      intermediary field_3494 Lnet/minecraft/class_894;field_3494:F
      named minDistance Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;minDistance:F
    • field_3500

      private boolean field_3500
      Mappings:
      Namespace Name Mixin selector
      official i Lrb;i:Z
      intermediary field_3500 Lnet/minecraft/class_894;field_3500:Z
      named field_3500 Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;field_3500:Z
  • Constructor Details

    • FollowOwnerGoal

      public FollowOwnerGoal(TameableEntity tameable, double speed, float minDistance, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrb;<init>(Lqa;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 Lrd;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 Lrd;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 Lrd;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 Lrd;d()V
      intermediary method_2745 Lnet/minecraft/class_896;method_2745()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • canTeleportTo

      private boolean canTeleportTo(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lrb;a(Lcj;)Z
      intermediary method_11008 Lnet/minecraft/class_894;method_11008(Lnet/minecraft/class_2552;)Z
      named canTeleportTo Lnet/minecraft/entity/ai/goal/FollowOwnerGoal;canTeleportTo(Lnet/minecraft/util/math/BlockPos;)Z
    • tick

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