Class CroakTask

All Implemented Interfaces:
Task<FrogEntity>

public class CroakTask extends MultiTickTask<FrogEntity>
Mappings:
Namespace Name
official bhy
intermediary net/minecraft/class_7095
named net/minecraft/entity/ai/brain/task/CroakTask
  • Field Details

    • MAX_RUN_TICK

      private static final int MAX_RUN_TICK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbhy;c:I
      intermediary field_37424 Lnet/minecraft/class_7095;field_37424:I
      named MAX_RUN_TICK Lnet/minecraft/entity/ai/brain/task/CroakTask;MAX_RUN_TICK:I
    • RUN_TIME

      private static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbhy;d:I
      intermediary field_37425 Lnet/minecraft/class_7095;field_37425:I
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/CroakTask;RUN_TIME:I
    • runningTicks

      private int runningTicks
      Mappings:
      Namespace Name Mixin selector
      official e Lbhy;e:I
      intermediary field_37426 Lnet/minecraft/class_7095;field_37426:I
      named runningTicks Lnet/minecraft/entity/ai/brain/task/CroakTask;runningTicks:I
  • Constructor Details

    • CroakTask

      public CroakTask()
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, FrogEntity frogEntity)
      Overrides:
      shouldRun in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbhy;a(Laif;Lbta;)Z
      intermediary method_42648 Lnet/minecraft/class_7095;method_42648(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/CroakTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbhy;a(Laif;Lbta;J)Z
      intermediary method_41332 Lnet/minecraft/class_7095;method_41332(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/CroakTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
    • run

      protected void run(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      run in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Lbhy;b(Laif;Lbta;J)V
      intermediary method_41333 Lnet/minecraft/class_7095;method_41333(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named run Lnet/minecraft/entity/ai/brain/task/CroakTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lbhy;c(Laif;Lbta;J)V
      intermediary method_41334 Lnet/minecraft/class_7095;method_41334(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named finishRunning Lnet/minecraft/entity/ai/brain/task/CroakTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official d Lbhy;d(Laif;Lbta;J)V
      intermediary method_41335 Lnet/minecraft/class_7095;method_41335(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named keepRunning Lnet/minecraft/entity/ai/brain/task/CroakTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V