Skip to content

适用于 Minecraft 26.3 的 SWAY API 模组

为 Minecraft 提供逼真的植被交互和形变。

次下载
19 次下载
次浏览
78 次浏览
已更新
已更新 12.10.2026

Sway

Realistic foliage interaction and deformation for Minecraft.

"Bringing your world to life, one blade of grass at a time."

SWAY doesn't do anything on its own; it requires another mod to be used. Recommended project: Interactive Foliage

📖 Description

Make your Minecraft forests feel alive!

Sway is a high-performance mod that makes foliage interact and deform when entities pass through them. No more walking through static, ghost-like grass—with Sway, every step you take and every mob that moves creates a physical reaction in the environment, making the world feel much more immersive and reactive.

Built with performance as the top priority, Sway uses an optimized deformation engine to ensure your FPS remains stable even in the lushest jungles.

V2

🌟 Features

  • Dynamic Interaction: Foliage (grass, flowers, ferns, etc.) deforms and bends away from players and mobs.
  • Optimized Engine: Uses a high-performance entity-to-block logic that minimizes CPU and GPU overhead.
  • Double-Block Continuity: Large plants like tall grass and large ferns deform as a single cohesive unit, avoiding visual breaks between the top and bottom halves.
  • Quadratic Bending: Provides a natural, curved deformation where the base stays rooted and the tip bends gracefully.
  • Developer Friendly: Includes a simple API for other modders to make their custom plants compatible with Sway.

⚙️ Compatibility

  • Minecraft Versions:
  • Supported versions: 1.20.1, 1.21.1, 1.21.11 and 26+.
  • Modding Platforms:
  • Fabric: ✅ Fully supported!
  • NeoForge: ✅ Fully supported!
  • Mod Compatibility:
  • Works with any mod that uses standard Minecraft foliage models.
  • Custom plants can be registered via the SwayAPI.

📦 Installation

  • Download the mod: Grab the latest version from Modrinth or CurseForge.
  • Install Fabric: Ensure you have the Fabric Loader installed for your version.
  • Add the mod: Place the .jar file into your mods folder.
  • Launch & Enjoy: Open Minecraft and watch the world react to your presence!

🛠️ Developer API

Sway is designed to be extensible. If you are a mod developer and want your plants to support Sway deformation, you can use the SwayAPI:

// Register your custom block with a 1.2x sway intensity SwayAPI.register(MyBlocks.CUSTOM_PLANT, 1.2f);

Check out our SwayAPI for more details.

📝 Contributing & Feedback

Contributions and bug reports are welcome!

  • Found a bug? Open an issue on our GitHub.
  • Have an idea? Feel free to open a suggestion thread.
  • Want to help? Fork the repo and submit a pull request!

📄 License

This mod is licensed under the MIT License.

❤️ Acknowledgments

Sway was created to bring a touch of realism to the Minecraft wilderness without sacrificing performance. Thank you for using the mod and supporting the community!

如何安装 SWAY API

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.21.10–26.3 on Fabric or NeoForge automatically, together with its dependencies: Fabric API.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

SWAY API works on the player’s side only: there is no need to install it on a server.

版本

含依赖项

Minecraft加载器文件日期操作
26.3NeoForge26.375.6 KB
26.2NeoForge26.275.6 KB
26.3Fabric26.373.9 KB 7
26.2Fabric26.274 KB 3
1.21.11Fabric1.21.1172.6 KB 9
26.1.2NeoForge26.1.274 KB
1.21.11NeoForge1.21.1174.1 KB
26.1.2Fabric26.1.272.4 KB

运行所需

需要它的内容

评价

成为第一个评价 SWAY API 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: RazorPlay01许可证: CC-BY-NC-SA-4.0

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。