Synchrono
一款 Minecraft 模组,用于将游戏内的昼夜循环与现实生活中的某个地点同步。
它使用 SunriseSunset.io 的数据来获取精确的日出和日落时间戳,并使用 Open-Meteo.com 获取实时天气更新。服务器的位置可以在配置文件中设置。
使用方法
在开始游戏之前,你需要设置服务器坐标(或你希望同步游戏时间的任意地点)。
要获取合适的坐标,您可以在互联网上搜索“<您的城市> 坐标”(geodatos.net 经常会出现相关结果)。您应该得到两个十进制数值,其中任何一个都可能是负数。
(将来可能会自动完成此操作)
GUI 配置
在图形用户界面(GUI)配置菜单中(需要 Mod Menu),你需要找到“纬度”和“经度”这两个选项。如果你不确定哪个是哪个,通常“纬度”会排在前面。
配置文件
配置文件(在服务器上时需要)位于 <server directory>/config/synchrono.json5。其内容大致如下:
synchrono.json5
{
latitude: 51.11,
longitude: 17.02,
/* rest of the file */
}
将这两个值修改为你的坐标。请确保行末的逗号保留不变。
其他配置选项
请参阅 wiki
依赖项
Custom Time Cycle by eclipseisoffline 用于使游戏内的昼夜循环平滑减速。
YetAnotherConfigLib 用于其配置 API 和 GUI。
对其他模组的建议
安装 Adjusted Phantom Spawns 后,在两个模组同时存在的情况下,会自动更改幻魔的生成条件,使其仅在现实时间经过 3 天后才生成。
外部 API 使用
本模组会定期查询互联网上的一些 API,以获取运行所需的数据。
如果你的服务器无法访问这些内容,安装该模组可能会导致崩溃。
Synchrono
A mod for Minecraft that syncs the in-game daylight cycle to a location in real life.
It uses data from SunriseSunset.io to get accurate timestamps for sunrise and sunset, and Open-Meteo.com to get realtime weather updates. The location of the server can be set in configuration files.
Usage
Before starting to play, you need to set the coordinates of your server (or whichever place you want to sync in-game time to).
To get the appropriate coordinates, you could, for example, search for "<your city> coordinates" on the internet (geodatos.net often comes up). You should have two decimal values, either of which may be negative.
(In the future, this might be done automatically)
GUI configuration
In the GUI configuration menu (needs Mod Menu), you need the Latitude and Longitude options. If you're unsure which one is which, latitude usually comes first.
Configuration file
The configuration file (needed eg. when on a server) is located at <server directory>/config/synchrono.json5. It looks something like:
synchrono.json5
{
latitude: 51.11,
longitude: 17.02,
/* rest of the file */
}
Change the two values to your coordinates. Make sure you leave the commas on the end of the lines.
Other configuration options
See the wiki
Dependencies
Custom Time Cycle by eclipseisoffline is used to make the in-game daylight cycle slow down smoothly.
YetAnotherConfigLib is used for its configuration API and GUI.
Recommendations for other mods
Adjusted Phantom Spawns with both mods installed, automatically changes phantoms to only spawn after 3 real-life days have passed.
External API usage
This mod periodically queries some APIs on the internet to retrieve necessary data to function.
If your server doesn't have access to these, it might crash with the mod installed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧