Class EscapeSunlightGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.EscapeSunlightGoal
Direct Known Subclasses:
FoxEntity.AvoidDaylightGoal

public class EscapeSunlightGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/EscapeSunlightGoal
intermediary net/minecraft/class_1344
official cah
  • Field Details

    • mob

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

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

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

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

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

      private final World world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/entity/ai/goal/EscapeSunlightGoal;world:Lnet/minecraft/world/World;
      intermediary field_6418 Lnet/minecraft/class_1344;field_6418:Lnet/minecraft/class_1937;
      official f Lcah;f:Ldbz;
  • Constructor Details

    • EscapeSunlightGoal

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

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

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