类 FollowMobGoal


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

      • mob

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

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

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

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

        private final EntityNavigation navigation
        Mappings:
        Namespace Name Mixin selector
        official e Layn;e:Lbbb;
        intermediary field_6434 Lnet/minecraft/class_1348;field_6434:Lnet/minecraft/class_1408;
        named navigation Lnet/minecraft/entity/ai/goal/FollowMobGoal;navigation:Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      • updateCountdownTicks

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

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

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

        private final float maxDistance
        Mappings:
        Namespace Name Mixin selector
        official i Layn;i:F
        intermediary field_6435 Lnet/minecraft/class_1348;field_6435:F
        named maxDistance Lnet/minecraft/entity/ai/goal/FollowMobGoal;maxDistance:F
    • 构造器详细资料

      • FollowMobGoal

        public FollowMobGoal​(MobEntity mob,
                             double speed,
                             float minDistance,
                             float maxDistance)
        Mappings:
        Namespace Name Mixin selector
        official <init> Layn;<init>(Lasz;DFF)V
        intermediary <init> Lnet/minecraft/class_1348;<init>(Lnet/minecraft/class_1308;DFF)V
        named <init> Lnet/minecraft/entity/ai/goal/FollowMobGoal;<init>(Lnet/minecraft/entity/mob/MobEntity;DFF)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
      • 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
      • 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
      • tick

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