
Modrinth · Minecraft mod
SWAY API
Realistic foliage interaction and deformation for Minecraft.
Quick answer
Which SWAY API release should I use?
SWAY API 2.4.3-neoforge+26.2 targets 26.2 with NeoForge. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is SWAY API required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does SWAY API 2.4.3-neoforge+26.2 need?
2.4.3-neoforge+26.2. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add SWAY API without breaking your instance.
Built for SWAY API 2.4.3-neoforge+26.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.4.3-neoforge+26.2. It targets 26.2 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.4.3-neoforge+26.2. It opens that exact file at the source.
About this project
What does SWAY API add?
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
.jarfile into yourmodsfolder. - 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!
Project description from Modrinth.
Pick your setup
SWAY API by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
2 loader builds26.1.1
2 loader builds26.1
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.1
2 loader builds1.20.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
SWAY API versions and loaders
2.4.3-neoforge+26.2
sway-2.4.3-neoforge+26.2.jar
18 Aug 2026
2.4.3-fabric+26.2
sway-2.4.3-fabric+26.2.jar
18 Aug 2026
2.4.3-fabric+1.21.11
sway-2.4.3-fabric+1.21.11.jar
18 Aug 2026
2.4.3-neoforge+26.1.2
sway-2.4.3-neoforge+26.1.2.jar
18 Aug 2026
2.4.3-neoforge+1.21.11
sway-2.4.3-neoforge+1.21.11.jar
18 Aug 2026
2.4.3-fabric+26.1.2
sway-2.4.3-fabric+26.1.2.jar
18 Aug 2026
2.4.3-fabric+1.21.1
sway-2.4.3-fabric+1.21.1.jar
18 Aug 2026
2.4.3-fabric+1.20.1
sway-2.4.3-fabric+1.20.1.jar
18 Aug 2026
2.4.3-forge+1.20.1
sway-2.4.3-forge+1.20.1.jar
18 Aug 2026
2.4.3-neoforge+1.21.1
sway-2.4.3-neoforge+1.21.1.jar
18 Aug 2026
2.4.2-neoforge+26.2
sway-2.4.2-neoforge+26.2.jar
18 Aug 2026
2.4.2-fabric+26.2
sway-2.4.2-fabric+26.2.jar
18 Aug 2026
Looking for an older file? The official Modrinth project page is in Resources.