一款简单的微调模组,丰富了原版雪层的交互行为。
功能
使用此模组,你可以:
- 将雪、栅栏/墙/高草丛放置在同一方块内!
- 享受覆盖着雪的台阶、楼梯、墙、栅栏和栅栏门——它们也能在世界中自然生成!
- 观看雪层像沙子一样掉落。掉落的雪接触到水源后会变成冰
- 在暴风雪(雷雨)期间或任何降雪期间看到雪层堆积
- 在雪层上行走时碰撞箱更薄,就像基岩版那样
- 在雪上着陆更加柔和:雪层越多,坠落伤害越低
- 直接将方块放置在雪中——只要不是满层雪,雪总是可以被替换的
- 用铲子右键点击雪,或者潜行+空手右键点击,可以刮取雪球(消耗一层雪)
- 空手右键点击被雪覆盖的方块,可切换其华丽的雪覆盖效果
- 让雪永不融化,让其在温暖生物群系融化,或让它随时间自然消失
- 以及更多!
所有功能均可在配置文件中开关。
玩笑功能
两个游戏规则 snowrealmagic:blizzardStrength(1–8,最大层数)和 snowrealmagic:blizzardFrequency(每刻每个区块 N/10000),可以让雪块从天而降。玩得开心!
自定义
使用方块标签调整行为
数据包可以通过向模组的方块标签中添加条目,来改变哪些方块与雪发生交互。要追加条目,请在你的数据包中 snowrealmagic 命名空间下创建文件,例如 data/snowrealmagic/tags/block/containables.json:
(另见 [使用 KubeJS 编辑标签]())
{
"values": [
"mymod:my_flower",
{
"id": "#mymod:my_pebbles",
"required": false
}
]
}
可用的标签:
- containables:可以容纳雪的方块,使其变为积雪状态。(默认值:
plants、offset_y、expand_model和#c:chains) - not_containables:黑名单。位于此处的方块永远无法容纳雪,即使它们在
containables列表中。(默认值:#minecraft:leaves) - plants:当被雪覆盖时变为积雪植物的植物。与 #containables 相比,着色器包可以检测到它们并使其摆动,但据我所知,目前尚无着色器包支持此功能。(默认值:枯灌木、花朵、树苗、蘑菇等)
- entity_inside:保留接触效果的积雪方块,例如凋零玫瑰的伤害。(默认值:凋零玫瑰、甜浆果丛)
- animate_tick:保留环境粒子的积雪方块,例如萤火虫灌木。(默认值:凋零玫瑰、开放的眼花、干草、萤火虫灌木)
- offset_y:平坦方块,当被雪覆盖时会略微抬高渲染,以避免与雪层产生 Z-fighting(深度冲突)。(默认值:来自支持模组的鹅卵石、树枝及类似装饰物)
- expand_model:当被雪覆盖时,其模型应被视为完整立方体的方块。用于兼容垂直台阶等模组。
- cannot_accumulate_on:雪不会在这些方块顶部自然堆积。(默认值:干草块、台阶)
使用 .mcmeta 自定义积雪模型
资源包可以更改方块在被雪覆盖时的外观。在方块的 模型 文件旁边添加一个 .json.mcmeta 文件,其中包含一个 srm 部分,指向要使用的替代模型。例如,assets/minecraft/models/block/dandelion.json.mcmeta:
{
"srm": {
"model": "mypack:block/snowy_dandelion"
}
}
积雪模型是一个普通的方块模型。对于十字形的植被,你可以继承内置模板,该模板会将植物与雪覆盖效果一起渲染:
{
"parent": "snowrealmagic:block/snowy_cross",
"textures": {
"cross": "block/dandelion",
"snow": "mypack:block/snowy_dandelion"
}
}
对于双高度的植物(如高草丛),请将 mcmeta 放在上半部分的模型上,并添加一个包含方块 ID 的 overrideBlocks 列表,以便上半部分也进行积雪渲染:
{
"srm": {
"model": "mypack:block/snowy_tall_grass_top",
"overrideBlocks": ["minecraft:tall_grass"]
}
}
此功能需要启用客户端配置 snowVariants(默认情况下已启用)。
卸载
在移除模组之前,你可能希望在配置中启用 snow-cover.restoreOriginalBlocks。这样,当区块加载时,积雪方块将恢复为原始方块,不会留下任何模组方块。
配置
通用
- snowGravity(默认:true):雪层像沙子一样下落。[性能影响:低]
- snowMakingIce(默认:true):下落的雪花在接触水时会变成冰。[性能影响:无]
- snowAlwaysReplaceable(默认:true):只要雪层未满,它就可以被其他方块替换。[性能影响:无]
- thinnerBoundingBox(默认:true):缩小雪层的碰撞箱。[性能影响:无]
- snowNeverMelt(默认:false):雪层永远不会融化。[性能影响:无]
- snowSpawnMaxLightLevel(默认:9):生成雪的最大光照等级。[性能影响:无]
- snowPersistMaxLightLevel(默认:11):雪不融化的最大光照等级。[性能影响:无]
- snowReduceFallDamage(默认:true):落在雪上时根据雪层层数减少摔落伤害。[性能影响:无]
- sustainGrassIfLayerMoreThanOne(默认:true):当雪层超过 1 层时,防止草方块变为泥土。[性能影响:无]
- sneakSnowball(默认:true):潜行并使用于雪层可获取雪球,消耗一层雪。[性能影响:无]
- fancySnowOnUpperSlab(默认:true):上半部台阶上的雪层会在台阶侧面渲染雪覆盖效果。[性能影响:低]
- rightClickToggleFancySnow(默认:true):手持空物品右键点击任意雪层以切换精美雪覆盖效果。[性能影响:无]
- mobSpawningMaxLayers(默认:8,范围:1–8):生物生成的最大雪层层数。[性能影响:无]
- snow-cover.placeSnowOnBlock(默认:true):可以在某些方块上放置雪,使其被雪覆盖。[性能影响:低]
- snow-cover.placeNaturally(默认:true):雪不仅可以由玩家放置在某些方块上,还可以通过降雪或世界生成自然出现。[性能影响:低]
- snow-cover.replaceWorldgenFeature(默认:true):替换原版世界生成特性,同时生成被雪覆盖的方块。[性能影响:低]
- snow-cover.restoreOriginalBlocks(默认:false):如果您想卸载此模组,可以在区块加载时将雪覆盖方块恢复为原始方块。[性能影响:低]
- accumulation.accumulatesDuringSnowfall(默认:false):降雪期间雪层会积累。[性能影响:中]
- accumulation.accumulatesDuringSnowstorm(默认:true):雷暴期间雪层会积累。[性能影响:中]
- accumulation.maxLayers(默认:6,范围:0–9):可积累的最大雪层层数。9 表示无限。[性能影响:低]
- accumulation.snowAndIceMeltInWarmBiomes(默认:false):在暖色生物群系中,雪和冰会融化。[性能影响:低]
- accumulation.naturalMelting(默认:true):如果雪层超过 1 层,雪会随时间自然融化。[性能影响:中]
- accumulation.smoothAccumulation(默认:true):雪层的积累和融化过程将更加平滑。[性能影响:低]
- integration.accumulationWinterOnly(默认:false):如果您安装了添加季节的模组,雪层仅会在冬季积累。[性能影响:无]
客户端
- particleThroughLeaves(默认:true):在位于树叶上方的雪下方生成雪花粒子。[性能影响:低]
- snowVariants(默认:true):部分被雪覆盖的植物将以不同方式渲染。[性能影响:低]
A simple tweak mod that enriches the vanilla snow layer's behavior.
Features
With this mod you can:
- Place snow and a fence/wall/tall grass in the same block!
- Enjoy snow-covered slabs, stairs, walls, fences and fence gates — they can also generate naturally in the world!
- Watch snow layers fall like sand. Falling snow that touches a water source turns into ice
- See snow layers pile up during a snowstorm (thunder) — or during any snowfall
- Walk on snow layers with a thinner collision box, just like in Bedrock Edition
- Land softly on snow: the more layers, the less fall damage
- Place blocks into snow directly — snow is always replaceable as long as it is not a full layer
- Right-click snow with a shovel, or sneak + right-click with an empty hand, to scrape off a snowball (consumes one layer)
- Right-click a snow-covered block with both hands empty to toggle its fancy snow overlay
- Make snow never melt, make it melt in warm biomes, or let it melt away naturally over time
- And more!
All features can be toggled in the config.
Joke feature
Two game rules, snowrealmagic:blizzardStrength (1–8, max layers) and snowrealmagic:blizzardFrequency (N/10000 per tick per chunk), make snow blocks fall from the sky. Have fun!
Customization
Tweaking behavior with block tags
Datapacks can change which blocks interact with snow by adding to the mod's block tags. To append entries, create the file under the snowrealmagic namespace in your datapack, e.g. data/snowrealmagic/tags/block/containables.json:
(Also see [Editing tags using KubeJS]())
{
"values": [
"mymod:my_flower",
{
"id": "#mymod:my_pebbles",
"required": false
}
]
}
Available tags:
- containables: Blocks that snow can be placed into, turning them snow-covered. (Default:
plants,offset_y,expand_modeland#c:chains) - not_containables: Blacklist. Blocks here can never contain snow, even if they are in
containables. (Default:#minecraft:leaves) - plants: Plants that become snowy plants when snow covers them. Compared to #containables, it will be able to be detected by shaderpacks to make them swing, but as far as I know, no shaderpacks support this yet. (Default: dead bush, flowers, saplings, mushrooms, etc.)
- entity_inside: Snow-covered blocks that keep their touch effects, e.g. wither rose damage. (Default: wither rose, sweet berry bush)
- animate_tick: Snow-covered blocks that keep their ambient particles, e.g. firefly bush. (Default: wither rose, open eyeblossom, dry grass, firefly bush)
- offset_y: Flat blocks that are rendered slightly raised when snow-covered, to avoid z-fighting with the snow layer. (Default: pebbles, twigs and similar decorations from supported mods)
- expand_model: Blocks whose model should be treated as a full cube when snow-covered. Used for compat with mods like vertical slabs.
- cannot_accumulate_on: Snow will not naturally accumulate on top of these blocks. (Default: hay block, slabs)
Custom snowy models with .mcmeta
Resource packs can change how a block looks when it is snow-covered. Add a .json.mcmeta file next to the block's model file with an srm section pointing to the model to use instead. For example, assets/minecraft/models/block/dandelion.json.mcmeta:
{
"srm": {
"model": "mypack:block/snowy_dandelion"
}
}
The snowy model is a regular block model. For cross-shaped foliage you can parent the built-in template, which renders the plant together with a snow overlay:
{
"parent": "snowrealmagic:block/snowy_cross",
"textures": {
"cross": "block/dandelion",
"snow": "mypack:block/snowy_dandelion"
}
}
For double-height plants such as tall grass, put the mcmeta on the top-half model and add an overrideBlocks list with the block ID, so the upper half also renders snowy:
{
"srm": {
"model": "mypack:block/snowy_tall_grass_top",
"overrideBlocks": ["minecraft:tall_grass"]
}
}
This feature requires the client config snowVariants to be enabled (it is by default).
Uninstalling
Before removing the mod, you may want to enable snow-cover.restoreOriginalBlocks in the config. Snow-covered blocks will then be restored to their original blocks as chunks load, leaving no modded blocks behind.
Configuration
Common
- snowGravity (default: true): Snow layer falls like sand. [Performance impact: low]
- snowMakingIce (default: true): Falling snow becomes ice when it touches water. [Performance impact: none]
- snowAlwaysReplaceable (default: true): Snow layer can always be replaced by other blocks, as long as it is not full. [Performance impact: none]
- thinnerBoundingBox (default: true): Shrink the collision box of the snow layer. [Performance impact: none]
- snowNeverMelt (default: false): Snow layer never melts. [Performance impact: none]
- snowSpawnMaxLightLevel (default: 9): Maximum light level for snow to spawn. [Performance impact: none]
- snowPersistMaxLightLevel (default: 11): Maximum light level for snow to not melt. [Performance impact: none]
- snowReduceFallDamage (default: true): Reduce fall damage when landing on snow, depending on the snow layers. [Performance impact: none]
- sustainGrassIfLayerMoreThanOne (default: true): Prevents grass block from turning into dirt when snow layer is more than 1. [Performance impact: none]
- sneakSnowball (default: true): Sneak+use on snow layer to obtain snowball, consuming one layer of snow. [Performance impact: none]
- fancySnowOnUpperSlab (default: true): Snow layer on upper slab will render snow overlay on the side of the slab. [Performance impact: low]
- rightClickToggleFancySnow (default: true): Right click with empty hands to toggle the fancy snow overlay on any snow layer. [Performance impact: none]
- mobSpawningMaxLayers (default: 8, range: 1–8): Maximum layers of snow for mobs to spawn. [Performance impact: none]
- snow-cover.placeSnowOnBlock (default: true): Snow can be placed on some blocks to make them snow-covered. [Performance impact: low]
- snow-cover.placeNaturally (default: true): Snow can be placed on some blocks not only by player, but also from snowfall or world generation. [Performance impact: low]
- snow-cover.replaceWorldgenFeature (default: true): Replace the vanilla world generation feature to also generate snow-covered blocks. [Performance impact: low]
- snow-cover.restoreOriginalBlocks (default: false): If you want to uninstall this mod, you can restore snow-covered blocks to their original blocks on chunk loaded. [Performance impact: low]
- accumulation.accumulatesDuringSnowfall (default: false): Snow layer accumulates during snowfall. [Performance impact: medium]
- accumulation.accumulatesDuringSnowstorm (default: true): Snow layer accumulates during thundering. [Performance impact: medium]
- accumulation.maxLayers (default: 6, range: 0–9): Maximum layers of snow that can accumulate. 9 is unlimited. [Performance impact: low]
- accumulation.snowAndIceMeltInWarmBiomes (default: false): Snow and ice will melt in warm biomes. [Performance impact: low]
- accumulation.naturalMelting (default: true): Snow melts with time if its layer is more than 1. [Performance impact: medium]
- accumulation.smoothAccumulation (default: true): Snow layer will accumulate and melt more smoothly. [Performance impact: low]
- integration.accumulationWinterOnly (default: false): If you have a mod that adds seasons, snow accumulation only happens in winter. [Performance impact: none]
Client
- particleThroughLeaves (default: true): Generates snowflake particles under snow that is above leaves. [Performance impact: low]
- snowVariants (default: true): Some snow-covered foliage will be rendered differently. [Performance impact: low]
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Snow! Real Magic! ⛄ (Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
12.2.10
- 修复:雪壳在顶部有栅栏的积雪栅栏上残留的问题(关闭 #499)
12.2.9
12.2.8
- 功能:将 animate_tick 移植到 1.21.1(关闭 #495)
12.2.7
- 修复:积雪垂直半砖的面剔除问题
- 修复:不正确的栅栏面剔除
- 修复:积雪栅栏门侧面的 Z-fighting 问题
- 功能:提高在雪上的步高(关闭 #450)
- 维护:将附魔垂直半砖添加到开发依赖项中
12.2.6
- 修复:不正确的遮挡形状(关闭 #491)
- 功能:将非防雨方块下方的方块转换为积雪形态
- 修复:世界生成未生成覆盖雪的方块
12.2.4
- 功能:现在你可以在
srm_variants文件夹中定义积雪模型变体,而不是使用 .mcmeta 文件。同时添加了 FarmersDelightCompat
26.3.1
- 修复:线程安全的方块转换器缓存(关闭 #498)
- 修复:积雪破坏遮罩缺失或位置错误
26.3.0
- 修复:雪制栅栏门侧面的 Z 轴冲突问题
- 新增:旋风粒子可将树叶上的雪吹落
- 修复:在积雪方块上渲染破坏遮罩
- 新增:移植至 Minecraft 26.3
- 新增:移植至 Minecraft 26.2
26.1.0
- 新增:提高雪地中的跳跃高度(关闭 #450)
- 修复:不正确的遮挡形状(关闭 #491)
- 新增:将非防雨方块下方的方块转换为积雪形态
- 修复:世界生成未生成覆盖积雪的方块
- 新增:积雪树叶(关闭 #355)
- 修复:DUMMY 方块实体日志刷屏问题(关闭 #482)
- 新增:现在你可以在
srm_variants文件夹中定义积雪模型变体,而无需使用 .mcmeta 文件
26.0.3
- 修复:8 层积雪方块的阴影亮度
- 更新 build.gradle 以适配 26.1-fabric
- 维护:更新依赖项
26.0.2
- 修复:积雪栅栏/围墙的连接问题
- 修复:无限最大积雪层数功能未能正常工作
26.0.1
- 新增:重新添加 SereneSeasons 集成支持
- 新增:重新添加对角线方块集成支持
12.2.7
- 修复:积雪垂直半砖的面剔除问题
- 修复:栅栏面剔除错误
- 修复:积雪栅栏门侧面的 Z-fighting(渲染冲突)问题
- 新增:提高在雪上的步高(关闭 #450)
- 维护:将附魔垂直半砖添加到开发依赖项中
12.2.6
- 修复:遮挡形状不正确(关闭 #491)
- 新增:将非挡雨方块下方的方块转换为积雪形态
- 修复:世界生成未生成被雪覆盖的方块
12.2.4
- 新增:现在你可以在
srm_variants文件夹中定义积雪模型变体,而不是使用 .mcmeta 文件。同时增加了 FarmersDelightCompat 兼容性支持
12.2.3
- 修复:DUMMY 方块实体日志刷屏问题(关闭 #482)
- 更新 build.gradle 以适配 1.21-fabric
12.2.2
- 修复:无限最大雪层数功能未能正常工作
- 修复:积雪栅栏/墙的连接问题
- 修复:部分植物被错误地转换为错误的积雪变体方块
- 修复:随机刻导致生成的草方块没有积雪覆盖层
- 修复:#461 再次出现
12.2.0
26.1.3
- 修复:积雪垂直半砖的剔除渲染
- 维护:将附魔垂直半砖添加至开发依赖项
26.1.2
- 修复:积雪破坏遮罩缺失或位置错误
- 修复:26.1 版本中的破坏遮罩 Mixin
26.1.1
- 修复:积雪栅栏门的侧面 Z-fighting(闪烁)问题
- 功能:风弹可将树叶上的雪吹落
- 修复:在积雪方块上渲染破坏遮罩
26.1.0
- 功能:提高雪地行走时的台阶高度(关闭 #450)
- 修复:遮挡形状不正确(关闭 #491)
- 功能:将非防雨方块下方的方块转换为积雪形态
- 修复:世界生成未生成积雪方块
- 功能:积雪树叶(关闭 #355)
- 修复:DUMMY 方块实体日志刷屏问题(关闭 #482)
- 功能:现在可以在
srm_variants文件夹中定义积雪模型变体,而无需使用 .mcmeta 文件
26.0.3
- 修复:8层积雪方块的阴影亮度
- 更新 build.gradle 以适配 26.1-fabric
- 维护:更新依赖项
26.0.2
- 修复:积雪栅栏/墙的连接问题
- 修复:最大积雪层数无限制功能无法正常工作
12.2.4
- 功能:现在你可以在
srm_variants文件夹中定义积雪模型变体,而无需使用 .mcmeta 文件。同时添加了 FarmersDelightCompat 兼容支持。
12.2.3
- 修复:DUMMY 区块实体日志刷屏问题(关闭 #482)
- 更新 build.gradle 以适配 1.21-fabric
12.2.2
- 修复:无限最大雪层数功能未能正常工作
- 修复:雪地栅栏/围墙的连接问题
- 修复:部分植物被转换为错误的雪变体方块
- 修复:随机刻生成没有雪覆盖的草方块
- 修复:#461 再次出现
12.2.0
- 合并来自 SettingDust/fix/issues 的拉取请求 #467
- 修复:落雪导致的水量异常巨大问题
- 修复:当包含状态因邻居更新而被破坏时掉落资源
- 修复:处理楼梯和台阶的方块光照
- 更新 ja_jp.json(#453)
12.1.2
- 功能:添加新标签以修复 Z-fighting 问题(关闭 #435)
- 修复:在使用 render_type 时积雪不可见的问题(关闭 #444)
- 修复:当 snowAlwaysReplaceable 关闭时与原版行为不一致的问题
12.0.8
- 修复:光照问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!

评论 0
登录后参与评分
还没有评论,来抢沙发吧