Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings

Faelib APIs

Compilation of common code shared between my mods

261
0
Library

Compatibility

Minecraft: Java Edition

1.20.1

Platforms

Fabric

Supported environments

Client-side
Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source

Creators

Feintha
Feintha Member

Details

Licensed LGPL-3.0-only
Published 6 months ago
Updated 4 months ago
DescriptionChangelogVersions

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

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.