smart_workbench-2.1.0.jar
Curse Maven Snippet
What's new
1. Improved EMI compatibility and reduced performance overhead.
2. Redesigned and reorganized the workbench UI layout.
3. Fixed the following issues:
- Recipe cache hits no longer repeatedly iterate over and copy the full recipe set; the index is only rebuilt when a data pack update occurs.
- Chained crafting recheck now correctly distinguishes between “a single candidate’s budget is exhausted” and “the entire round’s budget is exhausted.”
- When chained quantity recheck is enabled, total inventory counts now participate in the list fingerprint, so the list updates in time when materials go from “not enough” to “just enough.”
- When list contents haven’t changed, only an inventory snapshot is sent, reducing network transfer of the entire recipe list and client-side re-layout.
- Pinyin keys for name sorting are now cached, reducing string and pinyin calculations when repeatedly switching sort modes.
- Recipe candidate items now use an order-preserving collection, making material retrieval order more stable.
- Added an upper limit to the number of recipe candidates read from the network, preventing excessive memory allocation from abnormal data.
- Item fingerprints now use registry numeric IDs, reducing description-key string calculations in hot paths.
- Skipped temporary candidate list creation when a list entry has only one recipe.
1.优化和EMI的兼容,减少性能开销
2.重新优化设计工作台界面排版
3.修复以下问题:
- 配方缓存命中时不再反复遍历并复制完整配方集合,数据包更新时才重新建立索引。
- 链式合成复核现在会正确区分“单个候选预算用完”和“整轮预算用完”。
- 开启链式数量复核后,库存总数量会参与列表指纹,材料从“不够”变成“刚好够”时能及时更新列表。
- 列表内容没变化时只发送库存快照,减少整张配方列表的网络传输和客户端重排。
- 名称排序的拼音键加入缓存,反复切换排序时减少字符串和拼音计算。
- 配方候选物品改用保持原顺序的集合,取料顺序更加稳定。
- 网络读取配方候选数量增加上限,避免异常数据造成过量内存分配。
- 物品指纹改用注册表数字 ID,减少热路径中的描述键字符串计算。
- 列表单项只有一份配方时跳过临时候选列表创建。
This mod has no additional files

