Class WanderNearTargetGoal

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

public class WanderNearTargetGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/WanderNearTargetGoal
intermediary net/minecraft/class_1369
official cbe
  • Field Details

    • mob

      private final PathAwareEntity mob
      Mappings:
      Namespace Name Mixin selector
      named mob Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      intermediary field_6528 Lnet/minecraft/class_1369;field_6528:Lnet/minecraft/class_1314;
      official a Lcbe;a:Lbua;
    • target

      Mappings:
      Namespace Name Mixin selector
      named target Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;target:Lnet/minecraft/entity/LivingEntity;
      intermediary field_6529 Lnet/minecraft/class_1369;field_6529:Lnet/minecraft/class_1309;
      official b Lcbe;b:Lbtr;
    • x

      private double x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;x:D
      intermediary field_6527 Lnet/minecraft/class_1369;field_6527:D
      official c Lcbe;c:D
    • y

      private double y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;y:D
      intermediary field_6526 Lnet/minecraft/class_1369;field_6526:D
      official d Lcbe;d:D
    • z

      private double z
      Mappings:
      Namespace Name Mixin selector
      named z Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;z:D
      intermediary field_6531 Lnet/minecraft/class_1369;field_6531:D
      official e Lcbe;e:D
    • speed

      private final double speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;speed:D
      intermediary field_6530 Lnet/minecraft/class_1369;field_6530:D
      official f Lcbe;f:D
    • maxDistance

      private final float maxDistance
      Mappings:
      Namespace Name Mixin selector
      named maxDistance Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;maxDistance:F
      intermediary field_6532 Lnet/minecraft/class_1369;field_6532:F
      official g Lcbe;g:F
  • Constructor Details

    • WanderNearTargetGoal

      public WanderNearTargetGoal(PathAwareEntity mob, double speed, float maxDistance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DF)V
      intermediary <init> Lnet/minecraft/class_1369;<init>(Lnet/minecraft/class_1314;DF)V
      official <init> Lcbe;<init>(Lbua;DF)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 Lcap;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 Lcap;b()Z
    • 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 Lcap;d()V
    • 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 Lcap;c()V