Faelib APIs
Compilation of common code shared between my mods
About this Mod
A compilation of commonly used code in all of my mods.
Includes:
- Stripped version of FlorianMichael's ImGui fabric mod
- Item Rendering APIs
- Allows you to render arbitrary models when rendering items, or disable rendering base items
- Effectively how Geckolib handles its' item rendering, but this doesn't use Geckolib
- Allows you to render arbitrary models when rendering items, or disable rendering base items
- Vanilla-style procedural GUI widgets
- Box-type Widget containers
Implementations of any API could change with any release, so be careful depending on this mod!
Any given version could also not work. Versions found not working will be removed and/or updated.
How to include:
// gradle.properties
...
imgui_version=(see version on left tab)
...
// build.gradle
dependencies {
modImplementation [faelib api maven]
// The following is only required if you need to use the ImGui API.
// The libraries themselves are included in Faelib
compileOnly("io.github.spair:imgui-java-binding:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-lwjgl3:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-windows:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-linux:${project.imgui_version}")
compileOnly("io.github.spair:imgui-java-natives-macos:${project.imgui_version}")
}
Available Versions
How to Install Faelib APIs on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Faelib APIs". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Faelib APIs server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is Faelib APIs compatible with fabric?
Faelib APIs officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Faelib APIs – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Faelib APIs consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Faelib APIs with just one click on your server.