Class FollowMobGoal

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

public class FollowMobGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/FollowMobGoal
intermediary net/minecraft/class_1348
official bzx
  • Field Details

    • mob

      private final MobEntity mob
      Mappings:
      Namespace Name Mixin selector
      named mob Lnet/minecraft/entity/ai/goal/FollowMobGoal;mob:Lnet/minecraft/entity/mob/MobEntity;
      intermediary field_6432 Lnet/minecraft/class_1348;field_6432:Lnet/minecraft/class_1308;
      official a Lbzx;a:Lbte;
    • targetPredicate

      private final Predicate<MobEntity> targetPredicate
      Mappings:
      Namespace Name Mixin selector
      named targetPredicate Lnet/minecraft/entity/ai/goal/FollowMobGoal;targetPredicate:Ljava/util/function/Predicate;
      intermediary field_6436 Lnet/minecraft/class_1348;field_6436:Ljava/util/function/Predicate;
      official b Lbzx;b:Ljava/util/function/Predicate;
    • target

      @Nullable private @Nullable MobEntity target
      Mappings:
      Namespace Name Mixin selector
      named target Lnet/minecraft/entity/ai/goal/FollowMobGoal;target:Lnet/minecraft/entity/mob/MobEntity;
      intermediary field_6433 Lnet/minecraft/class_1348;field_6433:Lnet/minecraft/class_1308;
      official c Lbzx;c:Lbte;
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/goal/FollowMobGoal;speed:D
      intermediary field_6430 Lnet/minecraft/class_1348;field_6430:D
      official d Lbzx;d:D
    • updateCountdownTicks

      private int updateCountdownTicks
      Mappings:
      Namespace Name Mixin selector
      named updateCountdownTicks Lnet/minecraft/entity/ai/goal/FollowMobGoal;updateCountdownTicks:I
      intermediary field_6431 Lnet/minecraft/class_1348;field_6431:I
      official f Lbzx;f:I
    • minDistance

      private final float minDistance
      Mappings:
      Namespace Name Mixin selector
      named minDistance Lnet/minecraft/entity/ai/goal/FollowMobGoal;minDistance:F
      intermediary field_6438 Lnet/minecraft/class_1348;field_6438:F
      official g Lbzx;g:F
    • oldWaterPathFindingPenalty

      private float oldWaterPathFindingPenalty
      Mappings:
      Namespace Name Mixin selector
      named oldWaterPathFindingPenalty Lnet/minecraft/entity/ai/goal/FollowMobGoal;oldWaterPathFindingPenalty:F
      intermediary field_6437 Lnet/minecraft/class_1348;field_6437:F
      official h Lbzx;h:F
    • maxDistance

      private final float maxDistance
      Mappings:
      Namespace Name Mixin selector
      named maxDistance Lnet/minecraft/entity/ai/goal/FollowMobGoal;maxDistance:F
      intermediary field_6435 Lnet/minecraft/class_1348;field_6435:F
      official i Lbzx;i:F
  • Constructor Details

    • FollowMobGoal

      public FollowMobGoal(MobEntity mob, double speed, float minDistance, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/FollowMobGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;DFF)V
      intermediary <init> Lnet/minecraft/class_1348;<init>(Lnet/minecraft/class_1308;DFF)V
      official <init> Lbzx;<init>(Lbte;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 a Lcaa;a()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 b Lcaa;b()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 c Lcaa;c()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 d Lcaa;d()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 e Lcaa;e()V