Class BeeEntity.MoveToHiveGoal

Enclosing class:
BeeEntity

public class BeeEntity.MoveToHiveGoal
extends BeeEntity.NotAngryGoal
  • Field Details

    • ticks

      private int ticks
    • possibleHives

      private final List<BlockPos> possibleHives
    • path

      @Nullable private Path path
    • ticksUntilLost

      private int ticksUntilLost
  • Constructor Details

    • MoveToHiveGoal

      MoveToHiveGoal()
  • Method Details

    • canBeeStart

      public boolean canBeeStart()
      Specified by:
      canBeeStart in class BeeEntity.NotAngryGoal
    • canBeeContinue

      public boolean canBeeContinue()
      Specified by:
      canBeeContinue in class BeeEntity.NotAngryGoal
    • start

      public void start()
      Overrides:
      start in class Goal
    • stop

      public void stop()
      Overrides:
      stop in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal
    • startMovingToFar

      private boolean startMovingToFar​(BlockPos pos)
    • isPossibleHive

      private boolean isPossibleHive​(BlockPos pos)
    • addPossibleHive

      private void addPossibleHive​(BlockPos pos)
    • clearPossibleHives

      private void clearPossibleHives()
    • makeChosenHivePossibleHive

      private void makeChosenHivePossibleHive()
    • setLost

      private void setLost()
    • isCloseEnough

      private boolean isCloseEnough​(BlockPos pos)