Class LeapingChargeTask

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

public class LeapingChargeTask extends MultiTickTask<MobEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/LeapingChargeTask
intermediary net/minecraft/class_6029
official bwk
  • Field Details

    • RUN_TIME

      public static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;RUN_TIME:I
      intermediary field_30132 Lnet/minecraft/class_6029;field_30132:I
      official c Lbwk;c:I
    • cooldownRange

      private final UniformIntProvider cooldownRange
      Mappings:
      Namespace Name Mixin selector
      named cooldownRange Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;cooldownRange:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      intermediary field_30133 Lnet/minecraft/class_6029;field_30133:Lnet/minecraft/class_6019;
      official d Lbwk;d:Lbqg;
    • sound

      private final SoundEvent sound
      Mappings:
      Namespace Name Mixin selector
      named sound Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;sound:Lnet/minecraft/sound/SoundEvent;
      intermediary field_33459 Lnet/minecraft/class_6029;field_33459:Lnet/minecraft/class_3414;
      official e Lbwk;e:Lavz;
  • Constructor Details

    • LeapingChargeTask

      public LeapingChargeTask(UniformIntProvider cooldownRange, SoundEvent sound)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;<init>(Lnet/minecraft/util/math/intprovider/UniformIntProvider;Lnet/minecraft/sound/SoundEvent;)V
      intermediary <init> Lnet/minecraft/class_6029;<init>(Lnet/minecraft/class_6019;Lnet/minecraft/class_3414;)V
      official <init> Lbwk;<init>(Lbqg;Lavz;)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)Z
      intermediary method_35073 Lnet/minecraft/class_6029;method_35073(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)Z
      official a Lbwk;a(Larf;Lbts;J)Z
    • run

      protected void run(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      run in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      intermediary method_35074 Lnet/minecraft/class_6029;method_35074(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      official b Lbwk;b(Larf;Lbts;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<MobEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/LeapingChargeTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
      intermediary method_35075 Lnet/minecraft/class_6029;method_35075(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      official c Lbwk;c(Larf;Lbts;J)V