File Details
thaumicallaspect-1.0.3
- R
- Mar 19, 2026
- 4.41 MB
- 370
- 1.7.10
- Forge
File Name
ThaumicAllAspect-1.0.3.jar
Supported Versions
- 1.7.10
Curse Maven Snippet
v1.0.3 (Changelog)
- Fixed the “0 aspects / fake aspects” issue: when an
AspectListhassize > 0but total amount is0(total == 0), it could be mistakenly treated as “already has aspects”, causing the mod to skip re-derivation (leading to HUD/machine readings showing=0, and potentially crashes). Now such lists are treated as “no aspects”, so the correct derive/backup logic runs. - Enforced cache/registration safety: before writing to Thaumcraft,
aspect-cache.cfg, or logs, the code guarantees every aspect count is at least1to prevent0-value entries from persisting. - Hardened recipe-first pipeline behavior: derivation checks are driven by “positive total aspect amount” rather than only
size > 0, improving multi-step chain recipes (e.g.,A=BthenA+B=C) and preventing early termination by fake-aspect states. - UI visibility tweak for small-piece items: keywords like
nugget/粒/dust/shardget a post-scan adjustment that upgrades all-1 aspect sets to2(same aspect types), making them easier to read. - Configuration-driven tuning:
maxRecipeDepthandrecipeFirstMaxRoundsare read from config (default pipeline rounds remain6) for better control in large modpacks. - NEI integration is additive: NEI recipes are merged/added with vanilla indices to avoid losing recipes when NEI coverage is incomplete.
- Cache seed + incremental scan:
aspect-cache.cfgacts as an initial seed; after that, the scan still performs the derive pipeline but only fills targets that are still missing aspects, then rewrites the updated cache.
v1.0.3(更新日志)
- 修复“0 要素/假要素”问题:当
AspectList出现size > 0但总量为0(total == 0)时,之前可能会被误判为“已拥有要素”,从而跳过重推导(导致 HUD/机器读数显示=0,并可能引发崩溃)。现在把这种情况视作“无要素”,确保走正确的推导/兜底逻辑。 - 强化写入安全性:在向 Thaumcraft 注册、写入
aspect-cache.cfg以及日志输出前,确保每个要素数量至少为1,避免0值要素被持久化。 - 加固配方优先(Recipe-first)流程:衍生判定改为依据“要素总量是否为正”,而不是仅
size > 0,提升多步链式配方覆盖(如A=B后再A+B=C)并避免假要素状态导致的过早终止。 - 小件命中词 UI 可见性增强:对包含
nugget/粒/dust/shard等词的命中项,在扫描后对“全部恰为 1 的要素集合”进行提升为2(不改变要素类型集合),使显示更清晰。 - 配置化调优:
maxRecipeDepth与recipeFirstMaxRounds从配置读取(默认配方优先轮数保持6),便于大整合包做性能/覆盖平衡。 - NEI 配方为“追加合并”:NEI 配方会与原版索引进行合并追加,避免 NEI 覆盖不完整时丢配方。
- 缓存种子 + 增量扫描:
aspect-cache.cfg作为初始种子加载;随后仍会走推导管线,但只补全仍缺少要素的目标,最后重写更新后的缓存。