Class BeeEntity.PollinateGoal

Enclosing class:
BeeEntity

private class BeeEntity.PollinateGoal extends BeeEntity.NotAngryGoal
Mappings:
Namespace Name
named net/minecraft/entity/passive/BeeEntity$PollinateGoal
intermediary net/minecraft/class_4466$class_4478
official cfi$k
  • Field Details

    • field_30300

      private static final int field_30300
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30300 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30300:I
      intermediary field_30300 Lnet/minecraft/class_4466$class_4478;field_30300:I
      official c Lcfi$k;c:I
    • field_30301

      private static final int field_30301
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30301 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30301:I
      intermediary field_30301 Lnet/minecraft/class_4466$class_4478;field_30301:I
      official d Lcfi$k;d:I
    • field_30302

      private static final int field_30302
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30302 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30302:I
      intermediary field_30302 Lnet/minecraft/class_4466$class_4478;field_30302:I
      official e Lcfi$k;e:I
    • field_30303

      private static final double field_30303
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30303 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30303:D
      intermediary field_30303 Lnet/minecraft/class_4466$class_4478;field_30303:D
      official g Lcfi$k;g:D
    • field_30304

      private static final int field_30304
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30304 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30304:I
      intermediary field_30304 Lnet/minecraft/class_4466$class_4478;field_30304:I
      official h Lcfi$k;h:I
    • field_30305

      private static final float field_30305
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30305 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30305:F
      intermediary field_30305 Lnet/minecraft/class_4466$class_4478;field_30305:F
      official i Lcfi$k;i:F
    • field_30306

      private static final float field_30306
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30306 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30306:F
      intermediary field_30306 Lnet/minecraft/class_4466$class_4478;field_30306:F
      official j Lcfi$k;j:F
    • field_30307

      private static final float field_30307
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30307 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30307:F
      intermediary field_30307 Lnet/minecraft/class_4466$class_4478;field_30307:F
      official k Lcfi$k;k:F
    • field_30308

      private static final int field_30308
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30308 Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;field_30308:I
      intermediary field_30308 Lnet/minecraft/class_4466$class_4478;field_30308:I
      official q Lcfi$k;q:I
    • flowerPredicate

      private final Predicate<BlockState> flowerPredicate
      Mappings:
      Namespace Name Mixin selector
      named flowerPredicate Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;flowerPredicate:Ljava/util/function/Predicate;
      intermediary field_20617 Lnet/minecraft/class_4466$class_4478;field_20617:Ljava/util/function/Predicate;
      official f Lcfi$k;f:Ljava/util/function/Predicate;
    • pollinationTicks

      private int pollinationTicks
      Mappings:
      Namespace Name Mixin selector
      named pollinationTicks Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;pollinationTicks:I
      intermediary field_20378 Lnet/minecraft/class_4466$class_4478;field_20378:I
      official l Lcfi$k;l:I
    • lastPollinationTick

      private int lastPollinationTick
      Mappings:
      Namespace Name Mixin selector
      named lastPollinationTick Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;lastPollinationTick:I
      intermediary field_20379 Lnet/minecraft/class_4466$class_4478;field_20379:I
      official m Lcfi$k;m:I
    • running

      private boolean running
      Mappings:
      Namespace Name Mixin selector
      named running Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;running:Z
      intermediary field_21080 Lnet/minecraft/class_4466$class_4478;field_21080:Z
      official n Lcfi$k;n:Z
    • nextTarget

      @Nullable private @Nullable Vec3d nextTarget
      Mappings:
      Namespace Name Mixin selector
      named nextTarget Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;nextTarget:Lnet/minecraft/util/math/Vec3d;
      intermediary field_21511 Lnet/minecraft/class_4466$class_4478;field_21511:Lnet/minecraft/class_243;
      official o Lcfi$k;o:Levt;
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      named ticks Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;ticks:I
      intermediary field_21651 Lnet/minecraft/class_4466$class_4478;field_21651:I
      official p Lcfi$k;p:I
  • Constructor Details

    • PollinateGoal

      PollinateGoal()
  • Method Details

    • canBeeStart

      public boolean canBeeStart()
      Specified by:
      canBeeStart in class BeeEntity.NotAngryGoal
      Mappings:
      Namespace Name Mixin selector
      named canBeeStart Lnet/minecraft/entity/passive/BeeEntity$NotAngryGoal;canBeeStart()Z
      intermediary method_21814 Lnet/minecraft/class_4466$class_4467;method_21814()Z
      official h Lcfi$a;h()Z
    • canBeeContinue

      public boolean canBeeContinue()
      Specified by:
      canBeeContinue in class BeeEntity.NotAngryGoal
      Mappings:
      Namespace Name Mixin selector
      named canBeeContinue Lnet/minecraft/entity/passive/BeeEntity$NotAngryGoal;canBeeContinue()Z
      intermediary method_21815 Lnet/minecraft/class_4466$class_4467;method_21815()Z
      official i Lcfi$a;i()Z
    • completedPollination

      private boolean completedPollination()
      Mappings:
      Namespace Name Mixin selector
      named completedPollination Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;completedPollination()Z
      intermediary method_21820 Lnet/minecraft/class_4466$class_4478;method_21820()Z
      official k Lcfi$k;k()Z
    • isRunning

      boolean isRunning()
      Mappings:
      Namespace Name Mixin selector
      named isRunning Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;isRunning()Z
      intermediary method_23346 Lnet/minecraft/class_4466$class_4478;method_23346()Z
      official l Lcfi$k;l()Z
    • cancel

      void cancel()
      Mappings:
      Namespace Name Mixin selector
      named cancel Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;cancel()V
      intermediary method_23748 Lnet/minecraft/class_4466$class_4478;method_23748()V
      official m Lcfi$k;m()V
    • start

      public void start()
      Overrides:
      start in class Goal
      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 c Lcap;c()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official d Lcap;d()V
    • shouldRunEveryTick

      public boolean shouldRunEveryTick()
      Returns if the goal should run every tick or not.

      This returns false by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.

      Overrides:
      shouldRunEveryTick in class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named shouldRunEveryTick Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
      intermediary method_38846 Lnet/minecraft/class_1352;method_38846()Z
      official R_ Lcap;R_()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      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 e Lcap;e()V
    • moveToNextTarget

      private void moveToNextTarget()
      Mappings:
      Namespace Name Mixin selector
      named moveToNextTarget Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;moveToNextTarget()V
      intermediary method_23749 Lnet/minecraft/class_4466$class_4478;method_23749()V
      official n Lcfi$k;n()V
    • getRandomOffset

      private float getRandomOffset()
      Mappings:
      Namespace Name Mixin selector
      named getRandomOffset Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;getRandomOffset()F
      intermediary method_23750 Lnet/minecraft/class_4466$class_4478;method_23750()F
      official o Lcfi$k;o()F
    • getFlower

      private Optional<BlockPos> getFlower()
      Mappings:
      Namespace Name Mixin selector
      named getFlower Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;getFlower()Ljava/util/Optional;
      intermediary method_21821 Lnet/minecraft/class_4466$class_4478;method_21821()Ljava/util/Optional;
      official p Lcfi$k;p()Ljava/util/Optional;
    • findFlower

      private Optional<BlockPos> findFlower(Predicate<BlockState> predicate, double searchDistance)
      Mappings:
      Namespace Name Mixin selector
      named findFlower Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;findFlower(Ljava/util/function/Predicate;D)Ljava/util/Optional;
      intermediary method_22326 Lnet/minecraft/class_4466$class_4478;method_22326(Ljava/util/function/Predicate;D)Ljava/util/Optional;
      official a Lcfi$k;a(Ljava/util/function/Predicate;D)Ljava/util/Optional;