Class FollowParentGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowParentGoal
Direct Known Subclasses:
FoxEntity.FollowParentGoal

public class FollowParentGoal extends Goal
Mappings:
Namespace Name
official azn
intermediary net/minecraft/class_1353
named net/minecraft/entity/ai/goal/FollowParentGoal
  • Field Details

    • field_30209

      public static final int field_30209
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lazn;a:I
      intermediary field_30209 Lnet/minecraft/class_1353;field_30209:I
      named field_30209 Lnet/minecraft/entity/ai/goal/FollowParentGoal;field_30209:I
    • field_30210

      public static final int field_30210
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lazn;b:I
      intermediary field_30210 Lnet/minecraft/class_1353;field_30210:I
      named field_30210 Lnet/minecraft/entity/ai/goal/FollowParentGoal;field_30210:I
    • field_30211

      public static final int field_30211
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lazn;c:I
      intermediary field_30211 Lnet/minecraft/class_1353;field_30211:I
      named field_30211 Lnet/minecraft/entity/ai/goal/FollowParentGoal;field_30211:I
    • animal

      private final AnimalEntity animal
      Mappings:
      Namespace Name Mixin selector
      official d Lazn;d:Lbdx;
      intermediary field_6455 Lnet/minecraft/class_1353;field_6455:Lnet/minecraft/class_1429;
      named animal Lnet/minecraft/entity/ai/goal/FollowParentGoal;animal:Lnet/minecraft/entity/passive/AnimalEntity;
    • parent

      private AnimalEntity parent
      Mappings:
      Namespace Name Mixin selector
      official e Lazn;e:Lbdx;
      intermediary field_6452 Lnet/minecraft/class_1353;field_6452:Lnet/minecraft/class_1429;
      named parent Lnet/minecraft/entity/ai/goal/FollowParentGoal;parent:Lnet/minecraft/entity/passive/AnimalEntity;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      official f Lazn;f:D
      intermediary field_6453 Lnet/minecraft/class_1353;field_6453:D
      named speed Lnet/minecraft/entity/ai/goal/FollowParentGoal;speed:D
    • delay

      private int delay
      Mappings:
      Namespace Name Mixin selector
      official g Lazn;g:I
      intermediary field_6454 Lnet/minecraft/class_1353;field_6454:I
      named delay Lnet/minecraft/entity/ai/goal/FollowParentGoal;delay:I
  • Constructor Details

    • FollowParentGoal

      public FollowParentGoal(AnimalEntity animal, double speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lazn;<init>(Lbdx;D)V
      intermediary <init> Lnet/minecraft/class_1353;<init>(Lnet/minecraft/class_1429;D)V
      named <init> Lnet/minecraft/entity/ai/goal/FollowParentGoal;<init>(Lnet/minecraft/entity/passive/AnimalEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lazo;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()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 Lazo;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()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 Lazo;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()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 Lazo;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()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 Lazo;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V