DimensionalThreading
本项目是一款免费且开源的 Minecraft 模组,通过为多个维度分配独立的线程来优化其处理过程。
它同时适用于客户端和服务器,并且不需要在两端都安装该模组。
安装
安装 Fabric Loader。在 Minecraft 启动器(客户端)或专用服务器(服务端)中选择 Fabric。
安装好 Fabric 后,将 DimThread.jar 和 Fabric-API.jar 移入 Fabric 生成的 /mods 文件夹中。
配置
DimThread 自带 2 个原生游戏规则:
/gamerule dimthread_active <true/false> 启用/禁用该模组
/gamerule dimthread_thread_count <count> 更改使用的线程数量
常见问题
该模组会改变原版行为吗?
DimThread 旨在在所有方面保持与原版的一致性。目前已知没有偏离 Mojang 的 server.jar 的行为。如果你发现任何差异,欢迎提交 issue。
我的维度会出现不同步的情况吗?
如上所述,这种情况不会发生。DimThread 始终会将其处理的维度彼此同步,并将整体的 MSPT 设定为最慢的单个维度的时间。
支持超过 3 个维度的情况吗?
支持,但你必须相应地调整游戏规则。
如果为 DimThread 分配超过 3 个线程,服务器运行会变快吗?
不会,该模组只能将一个维度分配给一个线程。
如果我的 CPU 线程数少于维度数,我还能使用 DimThread 吗?
如果你没有足够的可用线程,模组不会崩溃,但会使游戏运行变慢。你应该始终至少保留 DimensionCount + 1 个可用线程。
与其他模组的兼容性如何?
我们将确保与 JellySquids 的性能模组以及 Carpet 的兼容性,并接受有关它们的任何问题。如果你计划使用其他模组,则不能保证兼容性,因为并非每位作者都会编写线程安全的模组。
关于较旧版本的 Minecraft 呢?
DimThread 是面向 1.16 兼容性编写的,目前不考虑更旧的版本。如果你在玩 1.12,可以使用由 2No2Name 维护的类似项目。
许可证
DimThread 采用 MIT 许可证授权,这是一种免费且开源的许可证。更多信息,请阅读许可证文件。
DimensionalThreading
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.
Installing
Install the Fabric Loader. Select Fabric for either the Minecraft launcher (client) or the dedicated server (server).
Once you have installed Fabric, move theDimThread.jarand theFabric-API.jarinto the/modsfolder generated by Fabric.
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?
DimThread is written with 1.16 compatibility in mind, older versions are currently not considered. If you play on 1.12 you can use a similar project maintained by 2No2Name.
License
DimThread is licensed under MIT, a free and open-source license. For more information, please read the license file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧