类 WanderNearTargetGoal


  • public class WanderNearTargetGoal
    extends Goal
    Mappings:
    Namespace Name
    official azf
    intermediary net/minecraft/class_1369
    named net/minecraft/entity/ai/goal/WanderNearTargetGoal
    • 字段详细资料

      • mob

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

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

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

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

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

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

        private final float maxDistance
        Mappings:
        Namespace Name Mixin selector
        official g Lazf;g:F
        intermediary field_6532 Lnet/minecraft/class_1369;field_6532:F
        named maxDistance Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;maxDistance:F
    • 构造器详细资料

      • WanderNearTargetGoal

        public WanderNearTargetGoal​(PathAwareEntity mob,
                                    double speed,
                                    float maxDistance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lazf;<init>(Latg;DF)V
        intermediary <init> Lnet/minecraft/class_1369;<init>(Lnet/minecraft/class_1314;DF)V
        named <init> Lnet/minecraft/entity/ai/goal/WanderNearTargetGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;DF)V
    • 方法详细资料

      • canStart

        public boolean canStart()
        指定者:
        canStart 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official a Layq;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()
        覆盖:
        shouldContinue 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      • stop

        public void stop()
        覆盖:
        stop 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official d Layq;d()V
        intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
        named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      • start

        public void start()
        覆盖:
        start 在类中 Goal
        Mappings:
        Namespace Name Mixin selector
        official c Layq;c()V
        intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
        named start Lnet/minecraft/entity/ai/goal/Goal;start()V