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 xc
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 d Lxc;d:Lwb;
      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 Lxc;e:Lvp;
      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 Lxc;a:Lamu;
      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 final double speed
      Mappings:
      Namespace Name Mixin selector
      official f Lxc;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 Lxc;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 Lxc;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 Lxc;c: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 Lxc;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> Lxc;<init>(Lwb;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 Lxe;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 Lxe;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 Lxe;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 Lxe;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 Lxe;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 Lxc;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