Class FrogEatEntityTask

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

public class FrogEatEntityTask extends MultiTickTask<FrogEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/FrogEatEntityTask
intermediary net/minecraft/class_7108
official cgo
  • 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/FrogEatEntityTask;RUN_TIME:I
      intermediary field_37479 Lnet/minecraft/class_7108;field_37479:I
      official c Lcgo;c:I
    • CATCH_DURATION

      public static final int CATCH_DURATION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CATCH_DURATION Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;CATCH_DURATION:I
      intermediary field_38414 Lnet/minecraft/class_7108;field_38414:I
      official d Lcgo;d:I
    • EAT_DURATION

      public static final int EAT_DURATION
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EAT_DURATION Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;EAT_DURATION:I
      intermediary field_37480 Lnet/minecraft/class_7108;field_37480:I
      official e Lcgo;e:I
    • MAX_DISTANCE

      private static final float MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_DISTANCE Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_DISTANCE:F
      intermediary field_37481 Lnet/minecraft/class_7108;field_37481:F
      official h Lcgo;h:F
    • VELOCITY_MULTIPLIER

      private static final float VELOCITY_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VELOCITY_MULTIPLIER Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;VELOCITY_MULTIPLIER:F
      intermediary field_37482 Lnet/minecraft/class_7108;field_37482:F
      official i Lcgo;i:F
    • UNREACHABLE_TONGUE_TARGETS_START_TIME

      public static final int UNREACHABLE_TONGUE_TARGETS_START_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named UNREACHABLE_TONGUE_TARGETS_START_TIME Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;UNREACHABLE_TONGUE_TARGETS_START_TIME:I
      intermediary field_39452 Lnet/minecraft/class_7108;field_39452:I
      official f Lcgo;f:I
    • MAX_UNREACHABLE_TONGUE_TARGETS

      public static final int MAX_UNREACHABLE_TONGUE_TARGETS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_UNREACHABLE_TONGUE_TARGETS Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;MAX_UNREACHABLE_TONGUE_TARGETS:I
      intermediary field_39453 Lnet/minecraft/class_7108;field_39453:I
      official g Lcgo;g:I
    • eatTick

      private int eatTick
      Mappings:
      Namespace Name Mixin selector
      named eatTick Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatTick:I
      intermediary field_37483 Lnet/minecraft/class_7108;field_37483:I
      official j Lcgo;j:I
    • moveToTargetTick

      private int moveToTargetTick
      Mappings:
      Namespace Name Mixin selector
      named moveToTargetTick Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;moveToTargetTick:I
      intermediary field_37484 Lnet/minecraft/class_7108;field_37484:I
      official k Lcgo;k:I
    • tongueSound

      private final SoundEvent tongueSound
      Mappings:
      Namespace Name Mixin selector
      named tongueSound Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;tongueSound:Lnet/minecraft/sound/SoundEvent;
      intermediary field_37485 Lnet/minecraft/class_7108;field_37485:Lnet/minecraft/class_3414;
      official l Lcgo;l:Lavg;
    • eatSound

      private final SoundEvent eatSound
      Mappings:
      Namespace Name Mixin selector
      named eatSound Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eatSound:Lnet/minecraft/sound/SoundEvent;
      intermediary field_37486 Lnet/minecraft/class_7108;field_37486:Lnet/minecraft/class_3414;
      official m Lcgo;m:Lavg;
    • targetPos

      private Vec3d targetPos
      Mappings:
      Namespace Name Mixin selector
      named targetPos Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;targetPos:Lnet/minecraft/util/math/Vec3d;
      intermediary field_37487 Lnet/minecraft/class_7108;field_37487:Lnet/minecraft/class_243;
      official n Lcgo;n:Lewh;
    • phase

      private FrogEatEntityTask.Phase phase
      Mappings:
      Namespace Name Mixin selector
      named phase Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;phase:Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask$Phase;
      intermediary field_37489 Lnet/minecraft/class_7108;field_37489:Lnet/minecraft/class_7108$class_7109;
      official o Lcgo;o:Lcgo$a;
  • Constructor Details

    • FrogEatEntityTask

      public FrogEatEntityTask(SoundEvent tongueSound, SoundEvent eatSound)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;<init>(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundEvent;)V
      intermediary <init> Lnet/minecraft/class_7108;<init>(Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
      official <init> Lcgo;<init>(Lavg;Lavg;)V
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, FrogEntity frogEntity)
      Overrides:
      shouldRun in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldRun Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
      intermediary method_41384 Lnet/minecraft/class_7108;method_41384(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
      official a Lcgo;a(Laqm;Lcgm;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
      intermediary method_41385 Lnet/minecraft/class_7108;method_41385(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
      official a Lcgo;a(Laqm;Lcgm;J)Z
    • run

      protected void run(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      run in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
      intermediary method_41387 Lnet/minecraft/class_7108;method_41387(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      official b Lcgo;b(Laqm;Lcgm;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
      intermediary method_41388 Lnet/minecraft/class_7108;method_41388(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      official c Lcgo;c(Laqm;Lcgm;J)V
    • eat

      private void eat(ServerWorld world, FrogEntity frog)
      Mappings:
      Namespace Name Mixin selector
      named eat Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;eat(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)V
      intermediary method_42667 Lnet/minecraft/class_7108;method_42667(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)V
      official b Lcgo;b(Laqm;Lcgm;)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, FrogEntity frogEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      named keepRunning Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
      intermediary method_41389 Lnet/minecraft/class_7108;method_41389(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      official d Lcgo;d(Laqm;Lcgm;J)V
    • isTargetReachable

      private boolean isTargetReachable(FrogEntity entity, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named isTargetReachable Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;isTargetReachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_44332 Lnet/minecraft/class_7108;method_44332(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)Z
      official a Lcgo;a(Lcgm;Lbtc;)Z
    • markTargetAsUnreachable

      private void markTargetAsUnreachable(FrogEntity entity, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named markTargetAsUnreachable Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;markTargetAsUnreachable(Lnet/minecraft/entity/passive/FrogEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_44333 Lnet/minecraft/class_7108;method_44333(Lnet/minecraft/class_7102;Lnet/minecraft/class_1309;)V
      official b Lcgo;b(Lcgm;Lbtc;)V