GregTech 优化
针对 GregTech Modern 7.5.3 的性能优化。
更改内容
配方查找
简而言之,它添加了一个缓存,以加速被动配置下的某些操作。
- 机器会为其输入处理器跟踪一个版本计数器。如果配方搜索未找到任何结果且自上次以来输入未发生变化,则跳过搜索。
- RecipeRunner 按机器缓存分组后的处理器列表,并仅在机器的处理器拓扑发生变化时重新构建它们。
- 空的处理器会更早被跳过,没有内容的配方会提前返回。
机器控制器盖(Machine Controller Cover)
该盖每 40 个刻轮询其红石输入,以修复有时盖会出现故障并在无信号时停止机器或反之的情况。
ME 存储总线/接口
ME 存储总线和接口不再轮询网络。它们改为通过 AE2 接收变更通知。
ME 模式缓冲区
现在每个代理运行一个工作线程,加上缓冲区本身的一个工作线程,并且拥有共享的内部槽位,而不是每个模式一个槽位。这样机器需要扫描的总线更少以查找配方。从玩家的角度来看,它们的工作方式相同,因为槽位允许推送相同的模式且彼此独立。
断电行为
配置文件中有一个选项。默认值(false)保留原版 GregTech 的机器盖和断电行为。如果启用此选项,所有机器都会表现得像安装了启用了“禁用断电”功能的机器盖,直到你放置一个盖并自行禁用它为止。
GregTech Optimizations
Performance optimizations for GregTech Modern 7.5.3.
What it changes
Recipe lookup
In short, it adds a cache that speeds some things up in passive setups.
- Machines track a version counter for their input handlers. If a recipe search found nothing and no input changed since, the search is skipped.
- RecipeRunner caches the grouped handler lists per machine and rebuilds them only when the machine's handler topology changes.
- Empty handlers are skipped earlier, and recipes with no contents return early.
Machine Controller Cover
The cover polls its redstone input every 40 ticks to fix that sometimes the cover could malfunction and stop machine without signal or the other way around.
ME Stocking Bus/Hatch
ME stocking buses and hatches no longer poll the network. They get notified about changes from AE2 instead.
ME Pattern Buffers
They now run one worker per proxy + 1 for the buffer itself, and have shared internal slots instead of one slot per pattern. This way machine has fewer busses to scan for recipes. They work the same from the players perspective because the slots allow the same pattern to be pushed and are distinct.
Power failing
There is one option in the config. The default (false) keeps vanilla GregTech machine cover and power failing behavior. If you turn this on, all machines act like they have a machine cover with "disable power failing" turned on, until you place a cover and disable it yourself.
下载 GregTech 7.5.3 Performance Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GregTech 7.5.3 Performance Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GregTech 7.5.3 Performance Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GregTech 7.5.3 Performance Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GregTech 7.5.3 Performance Fixes
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复了孵化箱中的一个错误
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧