All Mods Resource Packs Data Packs Shaders Modpacks Plugins
SWAY API

SWAY API

by RazorPlay01 • Downloads: 352 • Followers: 0
Description
Gallery
Changelog
Versions

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

  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!

How to Install SWAY API (Mod)

SWAY API by RazorPlay01 is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2 (latest release: 2.4.5-neoforge+26.3, file size: 76 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded SWAY API file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Neoforge
2mo ago 194
26.2
Neoforge
2mo ago 97
26.3
Fabric
2mo ago 65
26.2
Fabric
2mo ago 48
1.21.x
Fabric
2mo ago 39
26.1.x
Neoforge
2mo ago 32
1.21.x
Neoforge
2mo ago 28
26.1.x
Fabric
2mo ago 24
1.21.1
Fabric
2mo ago 22
1.20.1
Fabric
2mo ago 19
1.20.1
Forge
2mo ago 18
1.21.1
Neoforge
2mo ago 16
26.2
Neoforge
2mo ago 15
26.2
Fabric
2mo ago 14
1.21.x
Fabric
2mo ago 13
26.1.x
Neoforge
2mo ago 12
1.21.x
Neoforge
2mo ago 11
26.1.x
Fabric
2mo ago 11
1.21.1
Neoforge
2mo ago 10
1.21.1
Fabric
2mo ago 10
1.20.1
Fabric
2mo ago 9
1.20.1
Forge
2mo ago 9
26.2
Neoforge
2mo ago 8
26.2
Fabric
2mo ago 8
1.21.x
Fabric
2mo ago 8
26.1.x
Neoforge
2mo ago 7
1.21.x
Neoforge
2mo ago 7
26.1.x
Fabric
2mo ago 7
1.21.1
Fabric
2mo ago 7
1.20.1
Fabric
2mo ago 6
1.20.1
Forge
2mo ago 6
1.21.1
Neoforge
2mo ago 6
26.2
Neoforge
2mo ago 6
26.2
Fabric
2mo ago 6
26.1.x
Neoforge
2mo ago 6
1.21.x
Fabric
2mo ago 5
1.21.x
Neoforge
2mo ago 5
26.1.x
Fabric
2mo ago 5
1.21.1
Fabric
2mo ago 5
1.20.1
Fabric
2mo ago 5
1.21.1
Neoforge
2mo ago 5
1.20.1
Forge
2mo ago 5
26.2
Neoforge
2mo ago 5
26.2
Fabric
2mo ago 4
26.1.x
Neoforge
2mo ago 4
26.1.x
Fabric
2mo ago 4
1.21.x
Neoforge
2mo ago 4
1.21.x
Fabric
2mo ago 4
1.20.1
Forge
2mo ago 4
1.21.1
Fabric
2mo ago 4
1.20.1
Fabric
2mo ago 4
1.21.1
Neoforge
2mo ago 4
26.2
Neoforge
2mo ago 4
26.2
Fabric
2mo ago 4
1.21.x
Fabric
2mo ago 4
26.1.x
Neoforge
2mo ago 3
1.21.x
Neoforge
2mo ago 3
26.1.x
Fabric
2mo ago 3
1.21.1
Fabric
2mo ago 3
1.20.1
Fabric
2mo ago 3
1.21.1
Neoforge
2mo ago 3
1.20.1
Forge
2mo ago 3
26.2
Neoforge
2mo ago 3
26.2
Fabric
2mo ago 3
26.1.x
Neoforge
2mo ago 3
1.21.x
Fabric
2mo ago 3
1.21.x
Neoforge
2mo ago 3
26.1.x
Fabric
2mo ago 3
1.21.1
Fabric
2mo ago 3
1.20.1
Fabric
2mo ago 3
1.20.1
Forge
2mo ago 3
1.21.1
Neoforge
2mo ago 3
26.2
Neoforge
2mo ago 3
26.2
Fabric
2mo ago 3
26.1.x
Neoforge
2mo ago 3
1.21.x
Fabric
2mo ago 3
1.21.x
Neoforge
2mo ago 3
26.1.x
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.20.1
Forge
2mo ago 2
26.2
Neoforge
2mo ago 2
26.1.x
Neoforge
2mo ago 2
26.2
Fabric
2mo ago 2
1.21.x
Neoforge
2mo ago 2
26.1.x
Fabric
2mo ago 2
1.21.x
Fabric
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
26.2
Neoforge
2mo ago 2
26.1.x
Neoforge
2mo ago 2
26.2
Fabric
2mo ago 2
26.1.x
Fabric
2mo ago 2
1.21.x
Neoforge
2mo ago 2
1.21.x
Fabric
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
26.2
Neoforge
2mo ago 2
26.2
Fabric
2mo ago 2
26.1.x
Neoforge
2mo ago 2
1.21.x
Neoforge
2mo ago 2
26.1.x
Fabric
2mo ago 2
1.21.x
Fabric
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
26.2
Neoforge
2mo ago 2
26.1.x
Neoforge
2mo ago 2
26.2
Fabric
2mo ago 2
26.1.x
Fabric
2mo ago 2
1.21.x
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.21.x
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 2
26.2
Neoforge
2mo ago 2
26.1.x
Neoforge
2mo ago 2
26.2
Fabric
2mo ago 2
26.1.x
Fabric
2mo ago 2
1.21.x
Neoforge
2mo ago 2
1.21.x
Fabric
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.21.1
Neoforge
2mo ago 1
1.21.x
Neoforge
2mo ago 1
26.1.x
Neoforge
2mo ago 1
26.1.x
Fabric
2mo ago 1
1.21.x
Fabric
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.21.1
Neoforge
2mo ago 1
26.1.x
Neoforge
2mo ago 1
1.21.x
Neoforge
2mo ago 1
26.1.x
Fabric
2mo ago 1
1.21.x
Fabric
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.x
Fabric
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.20.1
Fabric
2mo ago 1
26.1.x
Fabric
2mo ago 1
## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.5](https://github.com/RazorPlay01/SWAY/compare/2.4.4..2.4.5) - 2026-09-21

### Other







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.4](https://github.com/RazorPlay01/SWAY/compare/2.4.3..2.4.4) - 2026-08-28

### Fixes







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.4](https://github.com/RazorPlay01/SWAY/compare/2.4.3..2.4.4) - 2026-08-28

### Fixes







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

## [2.4.4](https://github.com/RazorPlay01/SWAY/compare/2.4.3..2.4.4) - 2026-08-28

### Fixes







## Contributors

  • RazorPlay01
<!-- generated by git-cliff -->

SWAY API Icon
Download SWAY API
Select game version
Select platform