Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Butterfly API
Butterfly API is a simple helper API for my Fabric 1.20.1 mods.
It mostly exists to keep shared code in one place, instead of rewriting the same registry helpers, item group setup, client setup, math utilities, and plush systems for every mod I make.
What It Adds
Butterfly API adds helper systems for common modding tasks like registering items, blocks, sounds, entities, particles, enchantments, recipes, status effects, and other basic content.
It also includes helper code for creative tabs, client setup, simple gameplay math, and reusable plush blocks.
Plushes
Butterfly API includes a shared plush system used by some of my mods.
This makes it easier to add small placeable plush blocks with things like direction, waterlogging, honk sounds, squish behavior, and optional GeckoLib Animations.
For Developers
Butterfly API can be used by other Fabric mod developers who want access to the same helper systems I use in my own mods.
The GitHub page includes more information about the API, setup, usage, and examples for using it in your own project.
GitHub 1.20.1: https://github.com/SyntaxyBoi/Butterfly-API
GitHub 1.21.11: https://github.com/SyntaxyBoi/Butterfly-API-1.21.11
Also, Butterfly was recently moved to 1.21.11, and that is the version that future updates will be on. Some of my mods will still require 1.20.1 or older versions, but all new features and API updates will be on the 1.21.11 version.
Extra's
Butterfly API is not meant to be a huge library. It is just a small API made to support my mods, make repeated code cleaner, and give other developers access to some of the same tools I use.
Use this mod if another mod requires it, or if you want to use its helper systems in your own Fabric mod.


