Class SeekSkyTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.SeekSkyTask
Direct Known Subclasses:
SeekSkyAfterRaidWinTask

public class SeekSkyTask extends Task<LivingEntity>
Mappings:
Namespace Name
official bey
intermediary net/minecraft/class_4248
named net/minecraft/entity/ai/brain/task/SeekSkyTask
  • Field Details

    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      official a Lbey;a:F
      intermediary field_18999 Lnet/minecraft/class_4248;field_18999:F
      named speed Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;speed:F
  • Constructor Details

    • SeekSkyTask

      public SeekSkyTask(float speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbey;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4248;<init>(F)V
      named <init> Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;<init>(F)V
  • Method Details

    • run

      protected void run(ServerWorld world, LivingEntity entity, long time)
      Overrides:
      run in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbdo;a(Lagg;Lbcc;J)V
      intermediary method_18920 Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      named run Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
    • shouldRun

      protected boolean shouldRun(ServerWorld world, LivingEntity entity)
      Overrides:
      shouldRun in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbdo;a(Lagg;Lbcc;)Z
      intermediary method_18919 Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
    • findNearbySky

      @Nullable private @Nullable Vec3d findNearbySky(ServerWorld world, LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbey;b(Lagg;Lbcc;)Ldwq;
      intermediary method_19987 Lnet/minecraft/class_4248;method_19987(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
      named findNearbySky Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;findNearbySky(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
    • isSkyVisible

      public static boolean isSkyVisible(ServerWorld world, LivingEntity entity, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbey;a(Lagg;Lbcc;Lgt;)Z
      intermediary method_20497 Lnet/minecraft/class_4248;method_20497(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
      named isSkyVisible Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;isSkyVisible(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)Z