Faelib APIs

Compilation of common code shared between my mods

by
592 Downloads
fabriclibrary
Rent Server with this Mod

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
  • 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

Faelib APIs 1.1.7-1.20.1release
MC 1.20.1fabric
February 18, 2025
Faelib APIs 1.1.6-1.20.1release
MC 1.20.1fabric
February 18, 2025
Faelib APIs 1.1.5-1.20.1release
MC 1.20.1fabric
February 18, 2025
Faelib APIs 1.1.4-1.20.1release
MC 1.20.1fabric
February 18, 2025
Faelib APIs 1.1.3-1.20.1release
MC 1.20.1fabric
February 18, 2025

How to Install Faelib APIs on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

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

fabric

Minecraft Versions

1.20.1

Server-side

~ Optional

Recommended 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.

Rent Modded Server

Install Faelib APIs with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Optional

Supported Versions

1.20.1