Class BeeEntity.PollinateGoal

Enclosing class:
BeeEntity

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

    • flowerPredicate

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

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

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

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

      private Vec3d nextTarget
      Mappings:
      Namespace Name Mixin selector
      official g Lbbk$k;g:Ldiu;
      intermediary field_21511 Lnet/minecraft/class_4466$class_4478;field_21511:Lnet/minecraft/class_243;
      named nextTarget Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;nextTarget:Lnet/minecraft/util/math/Vec3d;
    • ticks

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

    • PollinateGoal

      PollinateGoal()
  • Method Details

    • canBeeStart

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

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

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

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

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

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

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

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lawx;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • moveToNextTarget

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

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

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

      private Optional<BlockPos> findFlower​(Predicate<BlockState> predicate, double searchDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbk$k;a(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;
      named findFlower Lnet/minecraft/entity/passive/BeeEntity$PollinateGoal;findFlower(Ljava/util/function/Predicate;D)Ljava/util/Optional;