概述
基于 FastWorkBench 制作
本模组与原版的区别在于
1) 本版本使用 Mixins 而非注册表替换,以更兼容模组、侵入性更低的方式优化工作台。因为注册表替换会损害模组兼容性和整合包兼容性。另外,尽管原作者声称如此,但 RR *并非* 用于让用户知晓它修改了工作台。
2) 本模组会保留原版配方书功能,如果你正在寻找替代品,已有足够多的模组会删除配方书。
3) 本模组开箱即用地支持所有简单的模组合成台,无需硬依赖 FastWorkBench。
本模组对原版工作台进行了一些优化,使其运行更快并减少网络流量。
具体而言,它会缓存最近使用的配方,并在重新扫描整个注册表之前优先检查该配方。这使得按住 Shift 键点击合成操作比之前快得多。此外,它仅在必要时发送数据包,而不是在合成网格中的槽位发生任何变化时都发送,从而降低了网络流量。
好的,请提供需要翻译的内容。
本模组针对原版合成台和 2x2 合成台进行了优化,如果与简单的模组化合成台一同安装,无需用户或模组作者额外操作即可对其进行优化。此外,对于更复杂的合成台,只需复制或在 MixinHooks 中调用这两个方法,即可实现快速合成。
你可能会好奇,既然这样,为什么还要发布这个模组呢?
Forge 不是已经有类似的模组了吗?
嗯,你说得对,但它有一个主要缺陷:注册表替换(registry replacement)。
简而言之,注册表替换允许模组作者替换游戏中的任何方块/物品/流体等,并用自己的子类来替代它。
然而,这里存在几个问题。
1) 每个整合包中只能有一个模组对同一对象进行注册表替换。如果有多个模组尝试替换同一对象,其他模组的覆盖将被丢弃。
2) 所有指向旧对象的引用将失效,可能导致不良行为,例如破坏其他模组甚至原版游戏本身(试着去替换石头,我敢打赌你会后悔。)
3) 如果子类覆盖了这些方法且未调用 super,那么所有的 mixins、核心模组等都不会被调用(这就是为什么 Blast Processing 无法与普通的快速熔炉配合使用的原因,因为它替换了原版熔炉的 tick 函数,导致我的 mixins 无法生效)
Mixin 版本相比注册表替换版本的优点在于:
1) 它不使用注册表替换,因此可以与其他修改合成台的模组良好兼容。
注意:本模组需要 mixinbootstrap,并且客户端和服务器端都需要安装。
需要定制模组(费用合理)?只是想聊聊?或有复杂问题需要进一步讨论?欢迎加入 Discord:
Overview
Based on FastWorkBench
The differences between this and the original mod are
1) This version uses Mixins instead of registry replacement for a more mod friendly, less invasive way of optimizing the crafting table as registry replacement is bad for mod compatibility and modpacks. And no, despite what the original creator says, RR is *not* needed to let users know that it changes the crafting table.
2) This mod keeps the recipe book intact, there's already enough mods that delete the recipebook if you're looking for a replacement.
3) This mod has out of the box support for all simple modded crafting tables without the need to hard dep on FastWorkBench.
This mod does a couple things relating to the vanilla workbench so that it runs faster and causes less network traffic.
Specifically, it caches the last recipe used, and checks this recipe first before re-scanning the entire registry. This makes shift click crafting operate much faster than before. It also lowers network traffic by sending a packet only when needed instead of whenever a slot in changed in the crafting grid.
This mod targets the vanilla crafting table and 2x2 crafting table, but will also optimize simple modded crafting tables if installed along side them with no further effort required on behalf of the user or modder. In addition, for more complex crafting tables, all they need to do to implement fast crafting is copy or call the 2 methods in MixinHooks.
Now what you might be wondering is why release this at all then?
Doesn't Forge already have this mod?
Well yes, you would be correct, however, it has one major flaw: registry replacement.
In essence, what registry replacement does is allow a modder to replace any block/item/fluid, etc... in the game and substitute it with their own subclass.
However, there's a few catches.
1) Only one mod can registry replace the same object per pack, if more than one mod attempts to registry replace the same object, the other overrides will be discarded.
2) All references to the old object become invalid and can lead to bad behavior such as breaking other mods or even vanilla itself (try registry replacing stone, I dare you.)
3) All mixins, coremods, etc will not get called if the subclass overrides those methods and doesn't call super (why blast processing won't work with normal fast furnace, as it replaces the tick function of the vanilla furnace so my own mixins won't apply)
The advantages of the mixin version vs the registry replacement version is:
1) it doesn't use registry replacement so it will work fine with other mods that modify the crafting table.
Notes: this mod requires mixinbootstrap and is required clientside as well as serverside.
Need a custom mod for a reasonable fee? Just want to chat? Have a complex issue needing additional discussion? Come join the Discord:
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FastWorkbench Minus Replacement
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
* 修复了另一个涉及模组使用原版槽位的边缘情况
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个基于构建器的 Minecraft 配置库!
模组
? 使用命令保存和加载玩家或他人的背包/套装。
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
模组
恢复所有账户的游戏聊天访问权限
模组
通过图形界面控制模组加载。适用于需要可选功能的整合包和服务器,也适合不想手动操作文件而希望直接管理模组的极客用户。
模组
实体tick优化
评论 0
登录后参与评分
还没有评论,来抢沙发吧