Faelib APIs

Quick rating

Community listing page, reviews here may not be monitored by the author.

Faelib APIs

By FeinthaOwner

No reviews yet

Compilation of common code shared between my mods

Mod Loaders
Minecraft

About

Description

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}")
}