
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 v0.5.0-alpha
⚡ Optimization & Performance
Primary focus on reducing GC pressure and minimizing overhead in critical sections.
- FastUtil Everywhere: Standard Java collections replaced with high-performance
fastutilcounterparts (Reference2ObjectOpenHashMap,ObjectArrayList, etc.). - Zero-Allocation: Replaced
Optional<T>with@Nullableand transitioned from Java Streams to classicforloops in critical sections. - Registry Caching: Centralized caching via
GameRegistryManagerfor instant registry access. - Thread Management: Added Watchdog for thread termination control and moved tasks to the main server tick.
🧠 Analysis Core
- SccCondensedSolver: New ultra-fast algorithm based on Strongly Connected Components (SCC) and Tarjan's algorithm.
- Farming Simulation: Physical plant growth simulation via
PlantSimulatorand the newFarmingSource. - Recipes: Expanded support for transformations (potions, fireworks, bundles, bone meal on moss blocks).
- Categories:
ETERNALrenamed toUNOBTAINABLEfor better clarity.
🌍 GeoScan Module
- Modular Architecture: Module split into
ScanCoordinator,ScanExecutor,DataRefiner,ChunkBatchProcessor, andScanNotifier. - MSPT Monitor: Intelligent load management — automatic scan throttling during server lag.
- Profiles: Added load presets (
NORMAL,FAST,ULTRA_FAST,MAXIMUM). - Fast Biome Finder: Probabilistic biome search instead of the resource-intensive vanilla 3D scanner.
- Thread Safety: Synchronized IO operations in
GeoDataStorageusingReentrantLock.
⌨ Commands
| Command | Change Description |
|---|---|
/complexity threads | NEW! View thread pool status and load. |
/complexity export mobs csv | NEW! Quick export of mob data to CSV. |
/complexity tree | Transition to named arguments (e.g., depth <v> mode <m>). |
/complexity geoscan start | Profile is now a mandatory argument. |
🛠 Configuration & Mixin
- Config: Added
MAX_THREADSandFARMING_TIME_COST_MULTIPLIERparameters. RemovedGEOSCAN_CHUNK_TIMEOUT_MS. - Loot Simulation: Safe RNG modification in
LootContextvia accessors (Mixin) instead ofsun.misc.Unsafe. - Accessors: Added access to private fields in smithing table recipes.
Файлы
complexityanalyzer-0.5.0-alpha.jar(506.84 KiB)
ОсновнойМетаданные
Канал релиза
Alpha
Номер версии
0.5.0-alpha
Загрузчики
NeoForge
Версии игры
1.21.1
Загрузок
18
Дата публикации
11.05.2026
