🌧️ 雨 · ❄️ 雪与霜 · 🏜️ 沙尘暴 · 💨 玻璃上的哈气 · Minecraft 像素画 · 客户端
Weather Glass 让你的窗户上显现天气景象。下雨时,雨滴落在玻璃外侧,汇聚并滑落留下湿润的痕迹。下雪时,霜从窗户边缘蔓延开来,雪花附着在玻璃上,并在底部堆积成堆。沙漠风暴过后,沙粒会沉积在窗框周围。靠近结霜的窗户时,你的呼吸会使它起雾。所有效果均采用像素画风格,完美融入 Minecraft。
✨ 0.5.0 新功能
适用于 Minecraft 26.3 和 1.21.1,支持 Fabric 和 NeoForge。
- 原版细节:雨、雪和沙尘现在可以按每区块 16 像素绘制,与 Minecraft 原生纹理一致,这也是新的默认设置。该选项称为Detail(细节):Vanilla(原版,16x)、Detailed(详细,32x)或 Very detailed(非常详细,64x)。
- 沙尘暴(测试版):当风暴经过干燥的生物群系时,沙子会落在你的窗户上。在恶地生物群系中为红沙。
- Particle Rain 兼容性(测试版):你窗户上的雨滴和沙子会跟随 Particle Rain 的风向移动,其雨痕不会出现在玻璃上。
- 水滴跨越玻璃方块之间的边缘:在宽大和高大的窗户上,水滴会流入下一个方块。
- 更整洁的设置界面:雨、雪和沙尘共用相同的行,提供简洁的深色预览,测试版功能已标记。
- 更轻量:远处的窗户保持静止,当天气晴朗且玻璃干燥时不渲染任何内容。
🌧️ 雨

- 大小不一的水滴落在雨水能触及的玻璃一侧。当水滴变重时,它们会顿挫着滑落,沿途吸收其他水滴,并留下与其宽度相当的痕迹。
- 从一个方块流出的水滴会继续进入下一个方块,横向和向下流动,因此大窗户看起来就像一整块玻璃。
- 短屋檐(1-2 个方块高度)下的玻璃仍然会变湿,因为雨水是斜着落的。但在深门廊下则保持干燥。
- 雨后大约半分钟玻璃就会变干。
- 两种样式:Drops(水滴)(默认)或 Streaks(雨痕),细长的水流向下流淌。

❄️ 雪与霜

- 在寒冷生物群系(以及高海拔山区)中,霜从窗户边缘向内生长,角落处更厚。它在夜间和下雪时增长,并缓慢融化。
- 下雪时雪花会粘在玻璃上,雪停后一片接一片地消失。
- 窗户外侧底部堆积着积雪,角落里堆得更高。
- 面向户外的窗户内侧也有霜;此效果可关闭。
💨 玻璃上的哈气

- 将脸靠近结霜的窗户(无论在内侧还是外侧),你会在上面哈气:那里会逐渐形成一片柔和的雾气,一口接着一口。
- 后退一步,雾气会在大约五秒内消散。
- 仅在冰冷的玻璃上生效,旁观者模式下无效,且可关闭。
🏜️ 沙尘暴(测试版)

- 当风暴经过干燥的生物群系(沙漠、热带草原以及其他模组的干燥生物群系)时,沙子会落在窗户上:沿着窗框分布,在玻璃表面形成一层薄层,以颗粒状附着,并在底部堆积。
- 在恶地生物群系中,沙子呈红色。
- 普通风暴会留下一些痕迹,雷暴则会留下大量痕迹;风暴结束后几分钟内,风会将它们吹走。
- 沙尘纹理仍在测试中,可能会出现一些瑕疵。
🌬️ 粒子雨(测试版)
安装 Particle Rain 后,Weather Glass 会跟随风向变化:
- 迎风面的窗户会有更多的雨滴和沙尘,背风面则较少,雨滴会随着阵风倾斜。
- Particle Rain 的雨痕不会显示在玻璃上,Weather Glass 会绘制自己的雨滴(其他方块上的雨痕保持不变)。
- 首次使用时会在聊天栏提示。可在设置中关闭风向影响:几秒钟后窗户上的效果会恢复均匀。
⚙️ 设置

在设置屏幕中(Fabric 上使用 Mod Menu,NeoForge 上使用 Mods 列表),或在 config/weatherglass.properties 文件中。顶部的小窗口会实时显示根据您的设置生成的雨水、雪和沙尘效果。
雨水
| 设置项 |
可选值 |
| 玻璃上的雨水 |
关闭 / 轻度 / 正常 / 重度 |
| 细节等级 |
原版 (16x) / 详细 (32x) / 非常详细 (64x) |
| 样式 |
水滴 / 流痕 |
雪
| 设置项 |
可选值 |
| 雪与霜冻 |
关闭 / 轻度 / 正常 / 重度 |
| 细节 |
原版 (16x) / 详细 (32x) / 非常详细 (64x) |
| 玻璃内侧结霜 |
开启 / 关闭 |
| 玻璃上的哈气 |
开启 / 关闭 |
沙尘暴
| 设置项 |
选项值 |
| 沙尘暴 |
关闭 / 轻度 / 正常 / 重度 |
| 细节 |
原版 (16x) / 详细 (32x) / 非常详细 (64x) |
安装 Particle Rain 后,多出一个开关:Particle Rain 的风(开启 / 关闭)。
你从 0.4 版本保留的设置会被继承;全新安装默认使用原版画质。
🤝 兼容性
- 所有原版玻璃:玻璃方块、玻璃板、所有染色玻璃和着色玻璃。
- Sodium、Iris、Continuity(连接玻璃)和 MoreCulling(已在 Fabric 上测试)。在使用光影包时,雨滴会呈现该光影包特有的玻璃质感。
- Particle Rain(测试版),支持 Fabric 和 NeoForge。
- 仅客户端模组:适用于任何服务器,无需在服务器上安装任何东西。
⚡ 性能
天气效果作为玻璃自身区块网格的一部分,以原版动画纹理的方式每刻渲染一次,直接绘制到方块贴图中:无需额外的渲染通道。仅在附近某些玻璃湿润或积雪时运行,距离窗户超过几个区块的窗户则保持静止。下雨时:原版画质下每刻约 0.2 毫秒,详细画质下为 0.4 毫秒,非常详细画质下为 1.1 毫秒;天气晴朗且玻璃干燥时开销为零。
📦 版本与要求
| Minecraft |
Fabric |
NeoForge |
| 26.3 |
✅ |
✅ |
| 1.21.1 |
✅ |
✅ |
- Fabric:需要 Fabric Loader 和 Fabric API;Mod Menu(可选,用于设置界面)
- NeoForge:无其他依赖
⚠️ 已知限制
- 沙尘纹理仍在测试中,可能会显得有些 bug;Particle Rain 的风效也是新功能。如果发现任何显示异常,请告诉我。
- 已知 Bug:四块一组的玻璃板在下雨和下雪时可能会出现故障。正在修复中。
- 如果在另一个区块段中为窗户搭建屋顶,只要该区块未重新构建,窗户仍会继续接收雨水。
- 尚未与 Nvidium 进行测试。
有问题、想法或发现 Bug?欢迎前往 Discord 交流。
出于诚实说明:本描述由我用意大利语撰写,并交由 AI 翻译和排版。AI 还编写了部分代码,例如雨滴相遇合并的模拟逻辑,以及从 26.3 移植到 1.21.1(Fabric 和 NeoForge)的代码。目前我仅快速审查过代码:我是一名设计专业学生,目前没有足够时间彻底检查所有内容。待我完成审查后,将发布更新以修复或优化所需部分。此外,原版 (16x) 的效果目前还未能完全说服我,因此在后续版本中可能仍会发生变化。
🌧️ Rain · ❄️ Snow & frost · 🏜️ Dust storms · 💨 Breath on the glass · Minecraft pixel art · Client side
Weather Glass makes the weather show on your windows. When it rains, raindrops land on the outside of the glass, merge and run down leaving a wet trail. When it snows, frost creeps in from the edges of the window, snowflakes stick to the glass and snow piles up at the bottom. After a storm in the desert, sand settles along the frame. Get close to a frosted window and your breath fogs it up. All in pixel art that fits right into Minecraft.
✨ New in 0.5.0
For Minecraft 26.3 and 1.21.1, on Fabric and NeoForge.
- Vanilla detail: rain, snow and dust can now be drawn at 16 pixels per block, the same as Minecraft's own textures, and that is the new default. The setting is called Detail: Vanilla (16x), Detailed (32x) or Very detailed (64x).
- Dust storms (beta): when a storm passes over a dry biome, sand settles on your windows. Red sand in the badlands.
- Particle Rain compatibility (beta): the drops and the sand on your windows follow Particle Rain's wind, and its rain streaks stay off the glass.
- Drops cross the edges between glass blocks: on wide and tall windows they run on into the next block.
- A tidier settings screen: the same rows for rain, snow and dust, plain dark previews, beta features marked.
- Lighter: windows far away stand still, and nothing is drawn when the weather is clear and the glass is dry.
🌧️ Rain

- Drops of mixed sizes land on the side of the glass the rain reaches. When they get heavy they run down in jerks, pick up the drops in their way and leave a trail as wide as they are.
- A drop running out of a block goes on into the next one, sideways and down, so big windows read as one pane of glass.
- Glass under a short canopy (1-2 blocks) still gets wet, because rain falls at a slant. Under a deep porch it stays dry.
- After the rain the glass dries in about half a minute.
- Two styles: Drops (default) or Streaks, thin trickles running down.

❄️ Snow and frost

- In cold biomes (and high up in the mountains) frost grows in from the edges of the window, thicker in the corners. It grows more at night and while it snows, and slowly thaws again.
- Snowflakes stick to the glass while it snows and go one by one when it stops.
- Snow piles up at the bottom of the window, on the outside, heaped in the corners.
- Frost on the inside too, on windows that face the outside; it can be switched off.
💨 Breath on the glass

- Stand with your face close to a frosted window (inside or outside) and you breathe on it: a soft patch of fog grows there, one breath after another.
- Step back and it fades away in about five seconds.
- Only on cold glass, never in spectator mode, and it can be switched off.
🏜️ Dust storms (beta)

- When a storm passes over a dry biome (deserts, savannas, and the dry biomes of other mods), sand settles on the windows: along the frame, as a light patina on the glass, in grains, and heaped at the bottom.
- In the badlands the sand is red.
- An ordinary storm leaves some, a thunderstorm a lot; a few minutes after the storm the wind has taken it away.
- The dust textures are still being tested and can look a little buggy.
🌬️ Particle Rain (beta)
With Particle Rain installed, Weather Glass follows its wind:
- The windows facing the wind get more drops and more sand, the sheltered ones less, and the drops lean with the gusts.
- Particle Rain's rain streaks are kept off the glass, where Weather Glass draws its own drops (they stay on the other blocks).
- A note in the chat tells you so the first time. The wind can be switched off in the settings: the windows even out again within a few seconds.
⚙️ Settings

In the settings screen (Mod Menu on Fabric, the Mods list on NeoForge), or in config/weatherglass.properties. The little windows at the top show the rain, the snow and the dust with your settings, live.
Rain
| Setting |
Values |
| Rain on glass |
Off / Light / Normal / Heavy |
| Detail |
Vanilla (16x) / Detailed (32x) / Very detailed (64x) |
| Style |
Drops / Streaks |
Snow
| Setting |
Values |
| Snow and frost |
Off / Light / Normal / Heavy |
| Detail |
Vanilla (16x) / Detailed (32x) / Very detailed (64x) |
| Frost inside too |
On / Off |
| Breath on the glass |
On / Off |
Dust storms
| Setting |
Values |
| Dust storms |
Off / Light / Normal / Heavy |
| Detail |
Vanilla (16x) / Detailed (32x) / Very detailed (64x) |
With Particle Rain installed there is one more switch, Wind of Particle Rain (On / Off).
Your settings from 0.4 carry over; new installs start at Vanilla.
🤝 Works with
- Every vanilla glass: glass blocks, glass panes, all stained glass and tinted glass.
- Sodium, Iris, Continuity (connected glass) and MoreCulling (tested on Fabric). With shader packs the drops take the pack's own look of glass.
- Particle Rain (beta), on Fabric and NeoForge.
- Client side only: it works on any server, nothing to install there.
⚡ Performance
The weather is part of the glass's own chunk mesh and is animated like vanilla's animated textures, once a tick, straight into the block atlas: no extra render pass. It only runs while some glass nearby is wet or snowy, and windows more than a few chunks away stand still. While it rains: about 0.2 ms per tick at Vanilla, 0.4 ms at Detailed and 1.1 ms at Very detailed; nothing when the weather is clear and the glass is dry.
📦 Versions and requirements
| Minecraft |
Fabric |
NeoForge |
| 26.3 |
✅ |
✅ |
| 1.21.1 |
✅ |
✅ |
- Fabric: Fabric Loader and Fabric API; Mod Menu (optional, for the settings screen)
- NeoForge: nothing else
⚠️ Known limitations
- The dust textures are still being tested and can look a little buggy; the Particle Rain wind is new too. Tell me if something looks off.
- Known bug: glass panes in groups of four can show a glitch with rain and snow. It is being fixed.
- If you build a roof over a window in another chunk section, the window keeps getting rain until its chunk is rebuilt.
- Not tested with Nvidium yet.
Questions, ideas or bugs? Come by on Discord.
A note, for honesty: I wrote this description in Italian and had AI translate and lay it out. AI also wrote part of the code, such as the rain simulation where the drops meet and merge, and the port from 26.3 to 1.21.1 (Fabric and NeoForge). So far I have only reviewed the code quickly: I'm a design student and right now I don't have the time to go through all of it properly. When I do, updates will follow to fix or optimize whatever needs it. And the Vanilla (16x) look doesn't fully convince me yet, so it may still change in later versions.
评论 0
登录后参与评分
还没有评论,来抢沙发吧