Weather Watch
Weather Watch 是一款模组,旨在将游戏内的天气与你所在地区的现实天气相匹配。如果外面正在暴风雨中,游戏内也会同步呈现!
功能
天气同步
使用 WeatherAPI 根据服务器的 IP 地址(单人游戏中则为你的 IP 地址)指定的位置获取天气数据。(猜猜用 VPN 能发现什么有趣的事情?)
第一张截图来自我的区域,第二张截图来自朋友的区域
季节同步
Weather Watch 支持 Serene Seasons,并根据你系统时钟设置的月份来设定季节。它采用每个季节 3 个月的系统,其中 12 月至 2 月*为冬季,依此类推。

每个季节对应的月份取决于你所在的半球* 在多人游戏中,它将简单地参考服务器时钟
时间同步(默认关闭)
可选地,Weather Watch 还可以将白天时间同步到你的系统时钟!不建议在传统生存模式中使用此功能,因为它会移除通过床跳过夜晚的能力。不过,这对于和平模式或其他角色扮演体验来说非常棒!
在多人游戏中,它将简单地参考服务器时钟
我在写这段文字时意识到,对于美国夏令时,时间实际上只是简单地快进或倒带,但这真的很有趣
配置
syncWeather(默认:true)
切换天气同步功能
syncSeasons(默认:true)
切换季节同步功能,如果未安装 Serene Seasons 则无效
syncTime(默认:false)
切换时间同步功能
syncMoonPhase(默认:true)
切换与你所在地区的月相进行同步
ip-override(默认:"server")
覆盖提供给位置获取器的 IP 地址。当设置为 server 时,它将直接使用服务器的公共 IP 地址。
常见问题
“这不会引起隐私问题吗?”
我在制作时就考虑到了这一点,并确保没有任何信息会泄露给那些原本就不会知道的人。所有依赖位置追踪的功能都使用已经公开的服务器 IP,连接的客户端唯一接收到的信息是是否应该下雨、应该是哪个季节以及一天中的时间。
“我能在单人游戏中使用它吗?”
只要你连接到互联网,就可以。此模组需要互联网连接才能访问 WeatherAPI 并追踪服务器位置。不过,时间和季节同步无论是否联网都应该可以工作。
“为什么这个模组不是开源的?”
虽然我很想让这个模组开源,但在找到一种方法将我的 WeatherAPI 密钥隐藏起来之前,我无法做到这一点。保持闭源是我目前能想到的既能隐藏 API 密钥又不要求用户提供自己密钥的最简单方法。虽然成本很小,但过多的 API 调用确实会让我花费一些钱,而且如果有人想这样做,很容易就能利用这一点。
Weather Watch
Weather Watch is a mod that focuses on matching the in-game weather to the real life weather in your area. If it's stormy outside, it'll match that in game!
Features
Weather Sync
Uses WeatherAPI to find the weather data at the location specified by the server's IP, or just your IP if you're playing singleplayer. (Wonder what cool things you could find with a VPN?)
First screenshot from my area, second screenshot from a friends area
Season Sync
Weather Watch supports Serene Seasons, and will set the season depending on the month your system clock is set to. It works in a 3 month per season system, with December-February* being winter and so on.

The months corresponding to each season depends on the hemisphere you're located in* In multiplayer, it'll simply refer to the server clock
Time Sync (off by default)
Optionally, Weather Watch can also sync the day time to your system clock as well! This isn't recommended for traditional survival, as it does remove the ability to skip to day with a bed. However, this is great for peaceful or otherwise roleplay experiences!
In multiplayer, it'll simply refer to the server clock
I did realize while writing this that time will literally just fast forward/rewind for American Daylight Savings, but that's really funny actually
Config
syncWeather (default: true)
Toggles the weather syncing capabilities
syncSeasons (default: true)
Toggles the season syncing capabilities, does nothing if Serene Seasons is not installed
syncTime (default: false)
Toggles the time syncing capabilities
syncMoonPhase (default: true)
Toggles syncing moon phase with the moon phase in your area
ip-override (default: "server")
Overrides the IP fed into the location fetcher. When set to server, it will simply use the server's public IP.
FAQ
"Doesn't this cause privacy concerns?"
I thought of this while making it and made sure that no info is public to anyone that wouldn't already know it. All features that rely on location tracking do so using the already public server IP, the only info connected clients recieve is if it should be raining, what season it should be, and the time of day.
"Can I use this in singleplayer?"
As long as you're connected to the internet, yes. This mod requires an internet connection to access WeatherAPI and to track the server location. Time and season sync should work regardless though.
"Why isn't this mod open source?"
As much as I would love to make this one open source, I cannot do so until I find a way to hide my WeatherAPI key from plain sight. Keeping it closed source is the easiest way I can think of to both hide my API key and not require users to provide their own for now. While the cost is small, excessive calls to the API does cost me some money, and that can be easily manipulated if someone wants to.
下载 Weather Watch
下载 Weather Watch
下载 Weather Watch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Weather Watch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Weather Watch
下载 Weather Watch
下载 Weather Watch
下载 Weather Watch
下载 Weather Watch
下载 Weather Watch
- 对整个模组进行了重写,使其更多地作为供其他模组使用的库。
- 该模组现已开源。
- 从配置文件中移除了 "weatherAPIKey",因为现在完全不再需要 API 密钥。
- 命令方块无法再运行 /weatherwatch 命令;鉴于我预见到有人可能会利用 forceResync 制作卡顿机器,因此直接禁用了这一功能。
- (希望)提高了时间同步的准确性(之前有时会偏差一两秒)。
- 整体性能提升。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧