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
official bsw
intermediary net/minecraft/class_7108
named net/minecraft/entity/ai/brain/task/FrogEatEntityTask
  • Field Details

    • RUN_TIME

      public static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbsw;c:I
      intermediary field_37479 Lnet/minecraft/class_7108;field_37479:I
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;RUN_TIME:I
    • CATCH_DURATION

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

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

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

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

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

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

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

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

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

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

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

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

    • FrogEatEntityTask

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

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, FrogEntity frogEntity)
      Overrides:
      shouldRun in class MultiTickTask<FrogEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbsw;a(Laid;Lbsu;)Z
      intermediary method_41384 Lnet/minecraft/class_7108;method_41384(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;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 Lbsw;a(Laid;Lbsu;J)Z
      intermediary method_41385 Lnet/minecraft/class_7108;method_41385(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;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 Lbsw;b(Laid;Lbsu;J)V
      intermediary method_41387 Lnet/minecraft/class_7108;method_41387(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named run Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;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 Lbsw;c(Laid;Lbsu;J)V
      intermediary method_41388 Lnet/minecraft/class_7108;method_41388(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
      named finishRunning Lnet/minecraft/entity/ai/brain/task/FrogEatEntityTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
    • eat

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

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

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

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