时间与风(Time & Wind)是一款 Minecraft 模组,允许调整夜晚和/或白天的持续时间。请阅读以下安装说明。
Fabric 版本依赖 Fabric API
客户端和服务端均需安装
如果遇到任何问题,请在问题追踪器中报告
详细设置指南(推荐)
设置:
在游戏中使用 /taw set-cycle-length <维度> <白天长度> <夜晚长度>
例如,执行 /taw set-cycle-length minecraft:overworld 24000 9000 可将维度 overworld 的白天持续时间设置为 24000 刻,夜晚持续时间设置为 9000 刻。
20 刻 = 1 秒,1200 刻 = 1 分钟,72,000 刻 = 1 小时。
若要移除某个世界的配置,请使用 /taw remove-cycle-entry <dimension>。
可通过 /taw get-current-world-id 获取世界 ID,该命令将输出你当前所在的世界 ID。
您也可以前往 config/time-and-wind/time-data.json 并在那里进行修改。
完成所有更改后,请使用 /taw reload 来应用它们。
癫痫警告:设置低于 12000 的值可能会引发癫痫或其他不良副作用!
注意:对于具有固定时间的维度,自定义配置显然无效。在原版 Minecraft 中,你只能为主世界配置自定义时间长度;但如果你拥有没有固定时间的模组维度,你将能够为其设置自定义时间长度并使其生效。
本模组还修补了 getSkyAngle 方法,以使白天和夜晚的长度相等,因为在原版中白天比夜晚稍长一些。此功能可以在配置文件中禁用。
模组工作原理:
通过 Mixin 模组重定向对 tickTime 方法中 setTime 的调用,并将控制权传递给自定义计时器方法。这意味着你无需将游戏规则 doDayLightCycle 设置为 false 即可让本模组正常运行。
如需更多信息,你可以查看 GitHub 上的此包。
整合包许可:非常同意
Time & wind is a minecraft mod that allows altering of night or/and day duration. Read below for setup instructions.
Fabric versions depend on Fabric API
Required both on client and server
If you encounter any issues please report them on issue tracker
Detailed setup guide(Recommended)
Setup:
While in game use /taw set-cycle-length <dimension> <day length> <night length>
For example /taw set-cycle-length minecraft:overworld 24000 9000 will set day duration to 24000 ticks and night to 9000 ticks for dimension overworld
20 ticks = 1 second, 1200 ticks = 1 minute, 72 000 ticks = 1 hour
If you want to remove configuration for world use /taw remove-cycle-entry <dimension>
World id can be obtained using /taw get-current-world-id, this command will print id of current world you are in
You can also navigate to config/time-and-wind/time-data.json and make changes there.
After all changes made use /taw reload to apply them
Seizure warning: Setting values less than 12000 may cause epilepsy or other unwanted side effects!
Note: Custom configuration for dimensions that have fixed time will obviously not work. In Vanilla you can only configure custom time length for overworld, but if you have modded dimensions without fixed time you will be able to set custom time length for them and it will work.
This mod also patches getSkyAngle method in order to make day and night length even since in vanilla day is a little bit longer than night. This can be disabled in config file.
How does mod works:
Using mixin mod redirects call to setTime in tickTime method passing control to custom ticker method. That means you don't need to set game rule doDayLightCycle to false for this mod to function.
For further information you can check this package on github
Modpack permission: Very yes
评论 0
登录后参与评分
还没有评论,来抢沙发吧