Class BeeEntity.FindBeehiveGoal

    • Field Detail

      • travellingTicks

        private int travellingTicks
      • blacklistedTargets

        private java.util.List<BlockPos> blacklistedTargets
      • lastPath

        @Nullable
        private Path lastPath
      • ticksStuck

        private int ticksStuck
    • Constructor Detail

      • FindBeehiveGoal

        FindBeehiveGoal()
    • Method Detail

      • 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
      • pathfindDirectlyTowards

        private boolean pathfindDirectlyTowards​(BlockPos p_226472_1_)
      • isTargetBlacklisted

        private boolean isTargetBlacklisted​(BlockPos p_226473_1_)
      • blacklistTarget

        private void blacklistTarget​(BlockPos p_226475_1_)
      • clearBlacklist

        private void clearBlacklist()
      • dropAndBlacklistHive

        private void dropAndBlacklistHive()
      • dropHive

        private void dropHive()
      • hasReachedTarget

        private boolean hasReachedTarget​(BlockPos p_226476_1_)