
Butterfly API
An API to simplify Math and Registries.
Über diese Mod
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.
Verfügbare Versionen
Butterfly API auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
fabric Loader setzen
Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.21.11).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "Butterfly API". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
1.21.11, 1.21.1, 1.20.1
Server-seitig
✓ ErforderlichEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
Butterfly API Server crasht beim Start – was tun?
Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.21.11). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist Butterfly API mit fabric kompatibel?
Butterfly API unterstützt offiziell fabric für Minecraft 1.21.11, 1.21.1, 1.20.1. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit Butterfly API – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Butterfly API den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere Butterfly API mit nur einem Klick auf deinem Server.