Class SonicBoomTask

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<WardenEntity>
net.minecraft.entity.ai.brain.task.SonicBoomTask
All Implemented Interfaces:
Task<WardenEntity>

public class SonicBoomTask extends MultiTickTask<WardenEntity>
Mappings:
Namespace Name
official bow
intermediary net/minecraft/class_7396
named net/minecraft/entity/ai/brain/task/SonicBoomTask
  • Field Details

    • HORIZONTAL_RANGE

      private static final int HORIZONTAL_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbow;d:I
      intermediary field_38850 Lnet/minecraft/class_7396;field_38850:I
      named HORIZONTAL_RANGE Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;HORIZONTAL_RANGE:I
    • VERTICAL_RANGE

      private static final int VERTICAL_RANGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbow;e:I
      intermediary field_38851 Lnet/minecraft/class_7396;field_38851:I
      named VERTICAL_RANGE Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;VERTICAL_RANGE:I
    • field_38852

      private static final double field_38852
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbow;f:D
      intermediary field_38852 Lnet/minecraft/class_7396;field_38852:D
      named field_38852 Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;field_38852:D
    • field_38853

      private static final double field_38853
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbow;g:D
      intermediary field_38853 Lnet/minecraft/class_7396;field_38853:D
      named field_38853 Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;field_38853:D
    • COOLDOWN

      public static final int COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbow;c:I
      intermediary field_38849 Lnet/minecraft/class_7396;field_38849:I
      named COOLDOWN Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;COOLDOWN:I
    • SOUND_DELAY

      private static final int SOUND_DELAY
      Mappings:
      Namespace Name Mixin selector
      official h Lbow;h:I
      intermediary field_38854 Lnet/minecraft/class_7396;field_38854:I
      named SOUND_DELAY Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;SOUND_DELAY:I
    • RUN_TIME

      private static final int RUN_TIME
      Mappings:
      Namespace Name Mixin selector
      official i Lbow;i:I
      intermediary field_38855 Lnet/minecraft/class_7396;field_38855:I
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;RUN_TIME:I
  • Constructor Details

    • SonicBoomTask

      public SonicBoomTask()
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, WardenEntity wardenEntity)
      Overrides:
      shouldRun in class MultiTickTask<WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a(Lakq;Lcay;)Z
      intermediary method_43262 Lnet/minecraft/class_7396;method_43262(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a(Lakq;Lcay;J)Z
      intermediary method_43263 Lnet/minecraft/class_7396;method_43263(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
    • run

      protected void run(ServerWorld serverWorld, WardenEntity wardenEntity, long long2)
      Overrides:
      run in class MultiTickTask<WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lbow;b(Lakq;Lcay;J)V
      intermediary method_43267 Lnet/minecraft/class_7396;method_43267(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named run Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lbow;c(Lakq;Lcay;J)V
      intermediary method_43268 Lnet/minecraft/class_7396;method_43268(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named keepRunning Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, WardenEntity wardenEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      official d Lbow;d(Lakq;Lcay;J)V
      intermediary method_43269 Lnet/minecraft/class_7396;method_43269(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      named finishRunning Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
    • cooldown

      public static void cooldown(LivingEntity warden, int cooldown)
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a(Lbjg;I)V
      intermediary method_43264 Lnet/minecraft/class_7396;method_43264(Lnet/minecraft/class_1309;I)V
      named cooldown Lnet/minecraft/entity/ai/brain/task/SonicBoomTask;cooldown(Lnet/minecraft/entity/LivingEntity;I)V