90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
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}")
}
Links
Details
Licensed LGPL-3.0-only
Published a month ago
Updated 9 hours ago