模组描述
为模组植物方块应用光影效果通常需要在资源包中修改文件,这既繁琐又费时,尤其是当你想要轻松切换光影时。本模组简化了这一流程,让模组植物方块能够轻松地随光影效果摇曳,为你的世界——无论是花朵、树苗还是其他类似植物的方块——创造出动态且身临其境的视觉体验。
特性:
- 光影支持:无缝集成 Iris 或 Oculus,允许模组植物方块在运行时作为光影的目标对象。
- 兼容性:适用于模组植物方块,使玩家或整合包制作者无需复杂设置即可轻松应用摇曳效果。
- 可定制性:通过方块标签(Block Tags)、ID(使用正则表达式)、属性(使用正则表达式)、方块类名或自定义模板对象,轻松调整应用目标。
- 便捷性:开箱即用,大多数植物方块无需特殊定制即可直接使用。
Sildurs 光影下的漂浮睡莲
来自 Region Unexplored 的睡莲在水面上优雅漂浮,展现了 Sildurs 光影的独特效果。

BSL 光影下的花田
得益于 BSL 光影,Region Unexplored 的花田呈现出柔和而鲜艳的照明与阴影效果,栩栩如生。

Bliss 光影下的野生稻与李子树
来自 Farmer Delight 的野生稻与环境模组(Environmental)的李子树相映成趣,营造出宁静和谐的自然场景,并由 Bliss 光影完美渲染。

指南
目前,你只需配置模组的 TOML 文件,该文件位于 config 文件夹中,名为 swaying_garden-client.toml。添加方块有五种方法:
- 直接方块 ID:你可以直接写入方块的 ID。
- 正则表达式匹配:使用如 ".*berry_bush" 的正则表达式,将匹配所有以 berry_bush 结尾的方块 ID。
- 标签:使用 # 前缀表示标签,例如 "#minecraft:small_flowers",将匹配所有小型花朵方块。
- 类名:使用 ! 前缀表示类名,例如 "!net.minecraft.world.level.block.CropBlock",将匹配该类的所有方块。
- 子类:使用 ~ 匹配子类,例如 ~net.minecraft.world.level.block.CropBlock,将匹配胡萝卜等子类。
此外,你还可以进行方块状态(blockstate)检查,例如 "#minecraft:tall_flowers%half:upper" 或 "#minecraft:tall_flowers%half:upper:age:0"。你也可以对属性和值使用正则表达式。
在配置文件末尾有一个自定义状态匹配功能。你可以使用 @ 分隔模板和匹配项,从而支持特殊类型,例如 "minecraft:vine@teastory:rice_plant"。这将把藤蔓的状态应用到 teastory 模组的稻苗上。
致谢
YurisCat 创建了图标,Loci_Natit 提供了帮助。
Mod Description
Applying shader effects to modded plant blocks often requires modifying files in the resource pack, which can be cumbersome and tedious, especially when you want to switch shaders easily. This mod simplifies the process by easily enabling modded plant blocks to sway with shader effects, creating a dynamic and immersive visual experience in your world—whether it's flowers, saplings, or other plant-like blocks.
Features:
- Shader Support: Seamlessly integrates with Iris or Oculus, allowing modded plant blocks to be included as shader targets during runtime.
- Compatibility: Works with modded plant blocks, making it simple for players or modpack creators to apply swaying effects without complex setups.
- Customizable: Easily adjust the application targets via Block Tags, IDs (using regex), attributes (using regex), block class names, or custom template objects.
- Convenience: Ready to use right out of the box, no special customization required for most plant blocks.
Water Lilies Floating in Sildurs Shader
Water lilies from Region Unexplored float gracefully on the water, showcasing the unique effects of the Sildurs shader.

Flower Field in BSL Shader
The flower field in Region Unexplored comes to life with soft, vibrant lighting and shadow effects, thanks to the BSL shader.

Wild Rice and Plum Trees in Bliss Shader
Wild rice from Farmer Delight and Plum trees from Environmental are nestled together, creating a tranquil and harmonious natural scene rendered beautifully by the Bliss shader.

Guide
Currently, you only need to configure the mod's TOML file, which can be found in the config folder as swaying_garden-client.toml. There are five methods to add blocks:
- Direct Block ID: You can directly write the block's ID.
- Regex Matching: Use regular expressions like ".*berry_bush", which will match all block IDs ending with berry_bush.
- Tags: Use the # prefix for tags, such as "#minecraft:small_flowers", which will match all small flower blocks.
- Class Names: Use the class name with a ! prefix, such as "!net.minecraft.world.level.block.CropBlock", which will match all blocks of that class.
- Subclasses: Use ~ to match subclasses, such as ~net.minecraft.world.level.block.CropBlock, which will match subclasses like carrots, etc.
Additionally, you can perform blockstate checks with %, for example, "#minecraft:tall_flowers%half:upper", or "#minecraft:tall_flowers%half:upper:age:0". You can also use regular expressions for properties and values.
At the end of the config file, there’s a custom state matching feature. You can separate templates and matches using @, which allows special types, like "minecraft:vine@teastory:rice_plant". This will apply the vine's state to the rice plant from the teastory mod.
Credits
YurisCat create the icon and also Loci_Natit help so.
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swaying Garden
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 新增对 Minecraft 26.3 的支持。
- 新增对 Fabric.1 的支持。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧