Clear Sky
一款小巧的 Fabric 模组,为 Minecraft 添加了第四种天气类型:TRUE_CLEAR。
为什么
Minecraft 原本有三种天气类型——CLEAR(晴朗)、RAIN(下雨)和 THUNDER(雷暴),但所谓的“晴朗”其实并不真正晴朗。天空中依然有云层。Clear Sky 引入了 TRUE_CLEAR,它与晴朗天气完全相同,只是去除了云层,让你看到真实、空旷的蓝天。
这虽然是个小改动,但一旦你注意到“晴朗”天气中的云层,你就再也无法忽视它们了。
功能说明
- 将
TRUE_CLEAR 作为一种新的天气类型加入。其外观与 CLEAR 完全一致,只是没有云层覆盖。
- 在正常的天气循环中,每当进入一段晴朗时段时,系统会进行掷硬币般的随机判定:一半概率是普通的
CLEAR,另一半概率则是 TRUE_CLEAR。下雨和雷暴天气完全不受影响。
- 长时间的晴朗时段可能会自行漂移。大约每 2.5 分钟(
3000 tick)会有 25% 的概率悄然切换为另一种晴朗状态,因此你可能会偶尔目睹云层无声地聚散,而并未下雨。
- 当天气变化时,云层的出现和消失会在几秒钟内淡入淡出,而不是瞬间弹出或消失。
所有逻辑均由服务器驱动并同步给客户端,因此在单人游戏和服务端上表现一致。
命令
TRUE_CLEAR 无缝集成到原版的 /weather 命令中:
/weather true_clear [duration]
/weather clear — 普通晴朗,包含云层(与原版的原版行为一致)。
/weather true_clear — 晴朗无云。
duration 是可选参数,用法与原版的天气命令相同。
需要权限等级 2,与其他 /weather 命令要求一致。
大致出现频率
假设使用默认游戏规则且无人强制更改天气,在长时间的游戏过程中,各天气类型的占比大致如下:
| Weather |
Share of the time |
CLEAR |
~42% |
TRUE_CLEAR |
~42% |
RAIN |
~14% |
THUNDER |
~1% |
换句话说,TRUE_CLEAR 和 CLEAR 将原来的“晴朗”时间平分。天气仅在拥有天空维度的世界中循环(下界和末地保持不变)。
安装
- 获取 Fabric Loader 和 Fabric API。
- 将
clear-sky.jar 放入你的 mods/ 文件夹,与 Fabric API 并列放置。
- 如果你在玩多人游戏,请在服务端也执行相同的操作——你需要在两端都安装此模组,以便让所有玩家的云层真正消失。
从源码构建
./gradlew build
生成的 jar 文件位于 build/libs/ 目录下。
要求
- Minecraft 1.21.11
- Fabric Loader 0.19.3+
- Fabric API
- Java 21
许可证
MIT — 详见 LICENSE。你可以随意使用它。
Clear Sky
A tiny Fabric mod that adds a fourth weather type to Minecraft: TRUE_CLEAR.
Why
Minecraft has three weather types — CLEAR, RAIN, and THUNDER — but "clear"
isn't really clear. There are still clouds up there. Clear Sky adds TRUE_CLEAR,
which is exactly like clear weather except the clouds are gone and you get an
honest, empty blue sky.
It's a small thing, but once you notice the clouds during "clear" weather you
can't un-notice them.
What it does
- Adds
TRUE_CLEAR as a new weather type. It looks identical to CLEAR, just
without the cloud layer.
- During the normal weather cycle, whenever a clear stretch begins it's a coin
flip: half the time you get regular
CLEAR, half the time you get
TRUE_CLEAR. Rain and thunder are left completely alone.
- Long clear stretches can drift on their own. Every 2.5 minutes or so (
3000 ticks) there's a
25% chance the sky quietly switches to the other kind, so you occasionally
catch the clouds rolling in or out without a drop of rain.
- Clouds fade in and out over a couple of seconds when the weather changes,
rather than popping in or vanishing instantly.
Everything is driven by the server and synced to clients, so it behaves the same
in singleplayer and on a server.
Commands
TRUE_CLEAR slots right into the vanilla /weather command next to the others:
/weather true_clear [duration]
/weather clear — normal clear, clouds and all (unchanged from vanilla).
/weather true_clear — clear skies, no clouds.
duration is optional and works like the vanilla weather commands.
Requires permission level 2, same as the rest of /weather.
Roughly how often you'll see each
Assuming default game rules and no one forcing the weather, over a long session
it shakes out to about:
| Weather |
Share of the time |
CLEAR |
~42% |
TRUE_CLEAR |
~42% |
RAIN |
~14% |
THUNDER |
~1% |
In other words, TRUE_CLEAR and CLEAR split the old "clear" time down the
middle. Weather only cycles in dimensions with a sky (the Nether and End are left
as-is).
Installing
- Grab Fabric Loader and
Fabric API.
- Drop
clear-sky.jar into your mods/ folder, alongside Fabric API.
- Do the same on the server if you're playing multiplayer — you'll want it on
both sides so the clouds actually disappear for everyone.
Building from source
./gradlew build
The jar lands in build/libs/.
Requirements
- Minecraft 1.21.11
- Fabric Loader 0.19.3+
- Fabric API
- Java 21
License
MIT — see LICENSE. Do what you like with it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧