该项目已停止维护。请使用此分支:
本项目是一个免费且开源的 Minecraft 模组,通过为各个维度分配独立的线程来优化多个维度的处理过程。
它同时适用于客户端和服务端,并且不需要在两端都安装该模组。
重要说明:
- 我将仅为我所有的模组提供最后两个主要版本的支持(目前为 1.18.2 和 1.19.2)。
- 特别感谢 gaxyll 为我制作 Logo —— 非常感谢。
- 这是 Fabric 模组 Dimensional Threading 的非官方移植版。原始版权所有者为 WearBlackAllDay。
- 此移植版不会修复 Fabric 版本存在的问题(除非这些问题在 Fabric 版本中已被提前修复)。
- 此模组可能会与其他模组存在不兼容情况。建议仅在原版服务器或轻度修改的原版服务器中使用。大多数情况下,问题只能由特定模组自身解决(使其代码和使用的数据结构具备线程安全性)。这包括:AE2、Create、Bigger Reactors、Cupboard 和 Chunky Pregenerator。
请求:
- 请勿将此移植版的问题反馈给原作者或其 GitHub 仓库。
- 请勿加入他们的 Discord 或在他们的模组页面留言以获取对我移植版的支持。
变更内容:
此移植版目前未更改任何原始实现。在代码层面,唯一的区别如下:
- 我调整了类引用和 Mixin 注入点,以适配 SRG 名称混淆规则和 Forge。
此移植版应与 Rubidium、Immersive Portals 和 Oculus 完全兼容(至少在测试期间未发生崩溃/问题)。
Optifine 将不提供官方支持。
配置
DimThread 自带 2 个原生游戏规则(GameRule):
/gamerule dimthread_active true/false; 启用/禁用该模组
/gamerule dimthread_thread_count count; 更改所使用的线程数量
常见问题解答 (FAQ)
该模组会改变原版行为吗?
DimThread 旨在在所有方面保持与原版的一致性。目前已知没有偏离 Mojangserver.jar 的行为差异。如果您发现任何差异,欢迎提交 Issue。
我的维度会出现不同步的情况吗?
如上所述,这种情况不会发生。DimThread 始终会将它所处理的维度相互同步,并将整体的 MSPT(每刻毫秒数)设定为最慢的那个独立维度。
是否支持超过 3 个维度?
是的,但您需要相应地调整 GameRule。
如果为 DimThread 分配超过 3 个线程,服务器运行会变快吗?
不会,该模组只能将一个维度分配给一个线程。
如果我的 CPU 线程数少于维度数,还能使用 DimThread 吗?
如果您的可用线程不足,模组不会崩溃,但会使游戏变慢。您应始终保证至少有 DimensionCount + 1 个可用线程。
与其他模组的兼容性如何?
我们将确保与 JellySquids 的性能模组以及 Carpet 的兼容性,并接受关于它们的任何问题。如果您计划使用其他模组,则无法保证兼容性,因为并非每位开发者都会编写线程安全的模组。
关于旧版本的 Minecraft 呢?
我不会将此模组移植回 1.18.2 之前的版本。但在许可证允许的条件下,允许其他开发者进行此类移植。
This project is discontinued. Use this fork instead:
This project is a free and open-source Minecraft mod which optimizes the processing of multiple Dimensions, by assigning them independent threads.
It works on both the client and server, and does not require the mod to be installed on both sides.
Important notes:
- I will only support the last two major release versions of Minecraft for all of my mods (that's currently 1.18.2 and 1.19.2).
- Big shoutout to gaxyll for creating the logo for me - tysm.
- This is an unofficial port of the fabric mod Dimensional Threading. The original copyright owner is WearBlackAllDay.
- This port is not going to fix the issues that the fabric version has (unless they are being fixed it beforehand in the fabric version)
- This mod might probably have some incompatibilities with other mods. It's recommended to use it for vanilla servers or slightly modded vanilla. Most of the time, the issue can only be fixed by the specific mods (making their code and used data structures thread-safe). This includes: AE2, Create, Bigger Reactors, Cupboard and Chunky Pregenerator
Requests:
- Please do not report issues with this port to the original owner or to their GitHub repo.
- Please do not join their discord or post a comment on their mod page in order to get support for my port.
Changes:
This port currently does not change any of the original implementations. On code side the only differences are the following ones:
- I adapted the class references and mixin injection points to match it to SRG and Forge
This port should be fully compatible with Rubidium, Immersive Portals and Oculus (at least no crashes/issues occured while testing it).
Optifine is not going to be officially supported.
Configuration
DimThread comes with 2 native Gamerules:
/gamerule dimthread_active true/false; enables/disables the mod
/gamerule dimthread_thread_count count;changes the amount of threads used
FAQ
Does the mod change Vanilla behaviour?
DimThread aims to conserve vanilla-parity in all points. At the moment there are no known deviations in behaviour from Mojangsserver.jar. If you notice any, feel free to open an issue.
Can my dimensions get de-synchronized?
As stated above this is NOT the case. DimThread will always synchronize the dimensions it threads with each other, setting the overall MSPT to the slowest individual dimension.
Are dimension counts above 3 supported?
Yes, but you will have to adjust the GameRule accordingly.
Will the server run faster if assign more than 3 threads to DimThread?
No, the mod can only assign one dimension to one thread.
Can i use DimThread if i have less threads on my CPU than dimensions?
The mod will not crash if you do not have enough threads available, but it will make the game slower. You should always have atleastDimensionCount + 1threads available.
How is the compatibility with other mods?
Compatibility with JellySquids performance mods and Carpet will be ensured and issues concerning them are accepted. If you plan on using a different mod compatibility cannot be guaranteed, since not every author writes their mod threadsafe.
What about older versions of Minecraft?
I'm not going to backport this mod to versions before 1.18.2. But every other developer is permitted to do so under the conditions of the license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧