Back to mods
SWAY API project artwork

CurseForge · Minecraft mod

SWAY API

Realistic foliage interaction and deformation for Minecraft.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SWAY API release matches 26.2?

Updated today
Best match for your filters SWAY 2.1.0 Neoforge 26.2
Game version 26.2
Loader NeoForge

SWAY API SWAY 2.1.0 Neoforge 26.2 targets 26.2 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is SWAY API required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does SWAY API SWAY 2.1.0 Neoforge 26.2 need?

SWAY 2.1.0 Neoforge 26.2 on 26.2. Every mod below is checked against that same setup.

All 2 required mods have matching files

Install Interactive Foliage, SWAY API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

1 listed on this file 1 pulled in by one of those mods
Interactive Foliage Needed by SWAY API SWAY 2.1.0 Neoforge 26.2
required
Matching file found Matched file: MC2 - Interactive Foliage 1.2.0 Neoforge 26.2
SWAY API Needed by Interactive Foliage
pulled in
Matching file found Matched file: SWAY 2.1.0 Neoforge 26.2

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add SWAY API without breaking your instance.

Built for SWAY API SWAY 2.1.0 Neoforge 26.2 on 26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use SWAY 2.1.0 Neoforge 26.2. It targets 26.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Interactive Foliage, SWAY API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside SWAY 2.1.0 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.

🌟 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!
  • Mod Compatibility:

    • Works with any mod that uses standard Minecraft foliage models.
    • Custom plants can be registered via the SwayAPI.

📦 Installation

  1. Download the mod: Grab the latest version from Modrinth or CurseForge.
  2. Install Fabric: Ensure you have the Fabric Loader installed for your version.
  3. Add the mod: Place the .jar file into your mods folder.
  4. 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 CurseForge.

Pick your setup

SWAY API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

15 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SWAY API versions and loaders

8 of 50 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.