类 EscapeSunlightGoal

  • 直接已知子类:
    FoxEntity.AvoidDaylightGoal

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

      • mob

        protected final PathAwareEntity mob
        Mappings:
        Namespace Name Mixin selector
        official a Layj;a:Latg;
        intermediary field_6419 Lnet/minecraft/class_1344;field_6419:Lnet/minecraft/class_1314;
        named mob Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;mob:Lnet/minecraft/entity/mob/PathAwareEntity;
      • targetX

        private double targetX
        Mappings:
        Namespace Name Mixin selector
        official b Layj;b:D
        intermediary field_6417 Lnet/minecraft/class_1344;field_6417:D
        named targetX Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;targetX:D
      • targetY

        private double targetY
        Mappings:
        Namespace Name Mixin selector
        official c Layj;c:D
        intermediary field_6416 Lnet/minecraft/class_1344;field_6416:D
        named targetY Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;targetY:D
      • targetZ

        private double targetZ
        Mappings:
        Namespace Name Mixin selector
        official d Layj;d:D
        intermediary field_6415 Lnet/minecraft/class_1344;field_6415:D
        named targetZ Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;targetZ:D
      • speed

        private final double speed
        Mappings:
        Namespace Name Mixin selector
        official e Layj;e:D
        intermediary field_6420 Lnet/minecraft/class_1344;field_6420:D
        named speed Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;speed:D
      • world

        private final World world
        Mappings:
        Namespace Name Mixin selector
        official f Layj;f:Lbvr;
        intermediary field_6418 Lnet/minecraft/class_1344;field_6418:Lnet/minecraft/class_1937;
        named world Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;world:Lnet/minecraft/world/World;
    • 构造器详细资料

      • EscapeSunlightGoal

        public EscapeSunlightGoal​(PathAwareEntity mob,
                                  double speed)
        Mappings:
        Namespace Name Mixin selector
        official <init> Layj;<init>(Latg;D)V
        intermediary <init> Lnet/minecraft/class_1344;<init>(Lnet/minecraft/class_1314;D)V
        named <init> Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;<init>(Lnet/minecraft/entity/mob/PathAwareEntity;D)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
      • targetShadedPos

        protected boolean targetShadedPos()
        Mappings:
        Namespace Name Mixin selector
        official g Layj;g()Z
        intermediary method_18250 Lnet/minecraft/class_1344;method_18250()Z
        named targetShadedPos Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;targetShadedPos()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
      • locateShadedPos

        @Nullable
        protected @Nullable Vec3d locateShadedPos()
        Mappings:
        Namespace Name Mixin selector
        official h Layj;h()Ldma;
        intermediary method_6257 Lnet/minecraft/class_1344;method_6257()Lnet/minecraft/class_243;
        named locateShadedPos Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;locateShadedPos()Lnet/minecraft/util/math/Vec3d;