Перейти к содержимому
Mineforgian

Butterfly API

An API to simplify Math and Registries.

Загрузки
1K
Подписчики
2
Обновлён
12 августа 2026 г.
Лицензия
MIT

Опубликован 7 мая 2026 г.

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.

Ченджлог

1.2.4Релиз1.21.11 · 12 августа 2026 г.

I made everything

1.2.3Бета1.21.11 · 10 августа 2026 г.

Minor compat changes

1.2.2Бета1.21.11 · 9 августа 2026 г.

Added new Item Utils and new registry options for both Items and Blocks.

1.2.1Бета1.21.11 · 9 августа 2026 г.

Fixed a crash with the outline system

1.2.0Бета1.21.11 · 9 августа 2026 г.

New Outline system added, and bundled plushes and other features were moved into another mod.

1.1.2-1.21.1Бета1.21.1 · 13 июля 2026 г.

1.21.1 is not planned to be updated further to modern versions of Minecraft, or to the newer updates of Butterfly API.

1.1.2Релиз1.20.1 · 15 июня 2026 г.

Fixed yet another bug, but this time it was mod compat.

1.1.1Релиз1.20.1 · 14 июня 2026 г.

Fixed some ui bugs with custom creative tabs and added a new plush.

Комментарии

Загружаем…