Class RabbitEntity.EatCarrotCropGoal

Enclosing class:
RabbitEntity

static class RabbitEntity.EatCarrotCropGoal extends MoveToTargetPosGoal
Mappings:
Namespace Name
official akd$g
intermediary net/minecraft/class_2623$class_2631
named net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal
  • Field Details

    • rabbit

      private final RabbitEntity rabbit
      Mappings:
      Namespace Name Mixin selector
      official f Lakd$g;f:Lakd;
      intermediary field_12003 Lnet/minecraft/class_2623$class_2631;field_12003:Lnet/minecraft/class_2623;
      named rabbit Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
    • wantsCarrots

      private boolean wantsCarrots
      Mappings:
      Namespace Name Mixin selector
      official g Lakd$g;g:Z
      intermediary field_12004 Lnet/minecraft/class_2623$class_2631;field_12004:Z
      named wantsCarrots Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
    • hasTarget

      private boolean hasTarget
      Mappings:
      Namespace Name Mixin selector
      official h Lakd$g;h:Z
      intermediary field_12005 Lnet/minecraft/class_2623$class_2631;field_12005:Z
      named hasTarget Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
  • Constructor Details

    • EatCarrotCropGoal

      public EatCarrotCropGoal(RabbitEntity rabbit)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakd$g;<init>(Lakd;)V
      intermediary <init> Lnet/minecraft/class_2623$class_2631;<init>(Lnet/minecraft/class_2623;)V
      named <init> Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lagt;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official b Lagt;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • tick

      public void tick()
      Overrides:
      tick in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official e Lagt;e()V
      intermediary method_2746 Lnet/minecraft/class_896;method_2746()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • method_11012

      protected boolean method_11012(RenderBlockView renderBlockView, BlockPos blockPos)
      Specified by:
      method_11012 in class MoveToTargetPosGoal
      Mappings:
      Namespace Name Mixin selector
      official a Lahh;a(Layc;Lel;)Z
      intermediary method_11012 Lnet/minecraft/class_2615;method_11012(Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Z
      named method_11012 Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_11012(Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z