▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Complexity Analyzer
Complexity Analyzer

Complexity Analyzer

A powerful framework that calculates the 'true cost' of every item, enabling deep analysis and balancing for complex modpacks.

Оцените первым
256
3
Все версииComplexity Analyzer 0.3.0-alpha

Complexity Analyzer 0.3.0-alpha

Alpha10.11.2025

Список изменений

v0.3.0-alpha: Global update

🚀 Major Architectural Rework

  • Rewritten Complexity Solver: The core IterativeSolver has been replaced with an EnhancedIterativeSolver to support multi-layered resource analysis. The new engine now calculates complexity across three distinct layers: Items -> Fluids -> Chemicals.
  • Full Fluid & Chemical Support:
    • Added FluidIngredientSlot and ChemicalIngredientSlot to represent non-item resources in recipes.
    • RecipeGraph now includes methods for analyzing fluid and chemical production chains (e.g., getRecipesProducingFluid, getItemsUsingFluid).
    • The entire analysis pipeline, from recipe parsing to tree visualization, is now aware of these new resource types.

✨ New Features

  • Machine Infrastructure Cost ("Machine Tax"):
    • Implemented a new configurable system to factor in the cost of machinery into recipe complexity.
    • By default, adds 7.5% of a machine's own complexity to each craft it performs.
    • This feature can be enabled/disabled and its percentage can be configured.
  • Automatic Machine Detection:
    • The engine now automatically discovers which machine (catalyst) is used for each recipe type by hooking into JEI's plugin data. This eliminates the need for manual configuration files.
  • Redesigned Crafting Tree System:
    • The /complexity tree command now uses a new CraftingTreeBuilder that correctly visualizes multi-resource type recipes.
    • Fluids (💧) and chemicals (🧪) are now displayed in the crafting tree alongside items.
    • Added detailed hover-tips with information about recipes and the machines used.

📈 Improvements

  • JEI Integration Overhaul:
    • The AdaptiveRecipeConverter has been completely rewritten for improved robustness and extensibility.
    • Enhanced reflection-based parser can now dynamically extract item, fluid, and chemical inputs/outputs from a wide range of modded recipes, including those using modern Java records.
    • Improved sandboxing ensures server stability when parsing JEI plugins that contain client-side code.
  • Performance Optimizations:
    • Implemented batch processing and intelligent queue management in the solver's refinement phase, resulting in a performance increase of up to 160x on large modpacks.
    • Improved caching strategies for recipe costs.
  • Dynamic Recipe Reclassification:
    • The engine now performs a post-analysis pass to dynamically reclassify "reverse" recipes (e.g., Ingot -> Dust) as PROCESSING. This prevents logical paradoxes in the crafting graph and ensures the solver always prefers the most efficient production path.
  • Resource Source Analysis:
    • EmpiricalBlockSource (Geo-Scanner) now analyzes and stores data for each dimension separately, providing more accurate resource rarity values.

🐛 Bug Fixes

  • Fixed Cyclic Dependencies: Resolved the core issue where the crafting tree would enter an infinite loop on certain recipe chains. The tree now correctly displays cycles as base resources.
  • Fixed NoClassDefFoundError: Improved error handling and class loading to prevent server crashes related to client-side JEI classes.
  • Fixed Fluid Normalization: Correctly handles flowing vs. source fluid types in recipe ingredients.

🔧 Technical & Build

  • Project refactoring: DatapackSyncHandler renamed to AnalysisBootstrap for clarity.
  • Added .vscode/ settings to .gitignore.

Файлы

complexityanalyzer-0.3.0-alpha.jar(1.15 MiB)
Основной
Скачать

Метаданные

Канал релиза

Alpha

Номер версии

0.3.0-alpha

Загрузчики

NeoForge

Версии игры

1.21.1

Загрузок

53

Дата публикации

10.11.2025

Загрузил

ID версии

Главная