Storage Drawers 在使用各种模组自动化方案(如管道)时存在诸多问题。其根本原因在于实现不佳的“虚拟槽位”,这导致了其他模组的混淆。
Storage Drawers Fixes 试图通过彻底移除该虚拟槽位来解决这些问题。
如果您在自动化方面仍然遇到问题,请向 issues 页面报告,或在评论中写下您的问题。或者,您也可以在 Discord 上私信我(juh9870#8970)
如果您遇到任何其他与 Storage Drawers 相关的问题,请在检查移除我的模组后问题是否仍然存在之前,请勿向原版开发者报告这些问题的修复请求
性能考量:
引入虚拟槽位是为了解决向控制器插入大量物品时的性能问题。然而,即使在大型整合包中,滞后问题往往在该数量级之前就可能出现。根据我的测试,通过 Refined Storage 向拥有 4096 个抽屉的控制器每秒插入约 1000 个物品时,移除虚拟槽位并未对性能造成明显负面影响。实际使用场景中的插入速率通常会更低。此外,当前由虚拟槽位导致的 Storage Drawers 问题使得在没有遇到麻烦的情况下大规模(甚至是在小型建筑中)使用它们变得困难。因此,移除虚拟槽位将使大多数玩家受益。
底层机制:
虚拟槽位主要在物品插入时带来性能提升,但由于其底层实现仍然会遍历所有槽位以寻找适合插入的位置,因此这种提升几乎可以忽略不计。移除虚拟槽位将该动作交由调用机器处理,仅引入了更频繁调用 `IItemHandler` 方法的轻微开销(无论如何,大多数自动化模组都会这样做,无论是否存在虚拟槽位)
分发政策:
您可以在您的整合包中使用此模组。
请不要将此模组重新上传到其他网站,请确保您的启动器从 Curseforge 页面或 GitHub releases 页面获取此模组。
Storage Drawers have a bunch of issues with various modded automation options like pipes. The root cause of all of that is poorly implemented "virtual slot" that caused confusion to other mods.
Storage Drawers Fixes attempts to fix those issues by completely removing that virtual slot.
If you are still running into issues with automation, please report them to the issues page, or write them down in comments. Alternatively, you can DM me on discord (juh9870#8970)
If you encounter any other Storage Drawers-related issues, please DO NOT REPORT THEM TO THE ORIGINAL DEVELOPERS before checking if those issues remain after removal of my mod
Performance considerations:
The virtual slot was introduced to address performance problems when inserting large numbers of items into a controller. However, even in megabases, lag issues can occur well before that point. From my testing, removing the virtual slot did not noticeably worsen performance when inserting around 1000 items per tick into a 4096-drawer controller via Refined Storage. Real-world use cases would typically involve lower insertion rates. Additionally, the current issues with Storage Drawers caused by the virtual slot make it difficult to use them on a large scale (or even in smaller builds) without encountering problems. Removing the virtual slot would therefore benefit most players.
Under the hood:
Virtual slot mainly brings performance benefit upon item insertion, but those are almost negligible due to the fact that under the hood implementation still iterates over all slots, trying to find one suitable for insertion. Removal of a virtual slot leverages that action to the calling machine, only introducing a thin overhead of calling `IItemHandler` methods more frequently (which most of the automation mods do anyway regardless of virtual slot presence)
Distribution policy:
You can use this mod in your modpack.
Please do not re-upload this mod on another website, please make sure your launcher gets this mod from is Curseforge page or GitHub releases page.
评论 0
登录后参与评分
还没有评论,来抢沙发吧