Class FoxEntity.EatBerriesGoal

Enclosing class:
FoxEntity

public class FoxEntity.EatBerriesGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
named net/minecraft/entity/passive/FoxEntity$EatBerriesGoal
intermediary net/minecraft/class_4019$class_4025
official chj$f
  • Field Details Link icon

    • EATING_TIME Link icon

      private static final int EATING_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EATING_TIME Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;EATING_TIME:I
      intermediary field_30336 Lnet/minecraft/class_4019$class_4025;field_30336:I
      official i Lchj$f;i:I
    • timer Link icon

      protected int timer
      Mappings:
      Namespace Name Mixin selector
      named timer Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;timer:I
      intermediary field_17974 Lnet/minecraft/class_4019$class_4025;field_17974:I
      official g Lchj$f;g:I
  • Constructor Details Link icon

    • EatBerriesGoal Link icon

      public EatBerriesGoal(double speed, int range, int maxYDifference)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;DII)V
      intermediary <init> Lnet/minecraft/class_4019$class_4025;<init>(Lnet/minecraft/class_4019;DII)V
      official <init> Lchj$f;<init>(Lchj;DII)V
  • Method Details Link icon

    • getDesiredDistanceToTarget Link icon

      public double getDesiredDistanceToTarget()
      Overrides:
      getDesiredDistanceToTarget in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named getDesiredDistanceToTarget Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredDistanceToTarget()D
      intermediary method_6291 Lnet/minecraft/class_1367;method_6291()D
      official i Lcct;i()D
    • shouldResetPath Link icon

      public boolean shouldResetPath()
      Overrides:
      shouldResetPath in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named shouldResetPath Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;shouldResetPath()Z
      intermediary method_6294 Lnet/minecraft/class_1367;method_6294()Z
      official l Lcct;l()Z
    • isTargetPos Link icon

      protected boolean isTargetPos(WorldView world, BlockPos pos)
      Specified by:
      isTargetPos in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named isTargetPos Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_6296 Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
      official a Lcct;a(Ldgm;Lji;)Z
    • tick Link icon

      public void tick()
      Overrides:
      tick in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lccg;a()V
    • eatBerries Link icon

      protected void eatBerries()
      Mappings:
      Namespace Name Mixin selector
      named eatBerries Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;eatBerries()V
      intermediary method_18307 Lnet/minecraft/class_4019$class_4025;method_18307()V
      official o Lchj$f;o()V
    • pickGlowBerries Link icon

      private void pickGlowBerries(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named pickGlowBerries Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;pickGlowBerries(Lnet/minecraft/block/BlockState;)V
      intermediary method_33586 Lnet/minecraft/class_4019$class_4025;method_33586(Lnet/minecraft/class_2680;)V
      official a Lchj$f;a(Ldwy;)V
    • pickSweetBerries Link icon

      private void pickSweetBerries(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named pickSweetBerries Lnet/minecraft/entity/passive/FoxEntity$EatBerriesGoal;pickSweetBerries(Lnet/minecraft/block/BlockState;)V
      intermediary method_33587 Lnet/minecraft/class_4019$class_4025;method_33587(Lnet/minecraft/class_2680;)V
      official b Lchj$f;b(Ldwy;)V
    • canStart Link icon

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lccg;b()Z
    • start Link icon

      public void start()
      Overrides:
      start in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official d Lccg;d()V