Перейти к содержимому
Mineforgian

Faelib APIs

Compilation of common code shared between my mods

Загрузки
597
Подписчики
0
Обновлён
18 февраля 2025 г.
Лицензия
LGPL-3.0-only

Опубликован 22 декабря 2024 г.

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

Центр версий

13 версий
  • Релиз5.4 МБ
  • Релиз5.4 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.3 МБ
  • Релиз5.2 МБ
  • Релиз8.3 МБ

Ченджлог

1.1.7-1.20.1Релиз1.20.1 · 18 февраля 2025 г.

Added narrations to BoxContainerWidget

1.1.6-1.20.1Релиз1.20.1 · 18 февраля 2025 г.

Renamed updateHSV/updateRGB to rgbUpdatedExternally/hsvUpdatedExternally respectively

Fixed issues related to the ColorPicker

1.1.5-1.20.1Релиз1.20.1 · 18 февраля 2025 г.

Added updateRGB/updateHSV

1.1.4-1.20.1Релиз1.20.1 · 18 февраля 2025 г.

im a dumbass

1.1.3-1.20.1Релиз1.20.1 · 18 февраля 2025 г.

Added function to update internal "hue" value for ColorPickerWidget (This internal variable exists so when value = 0 the hue won't reset to 0)

1.1.2-1.20.1Релиз1.20.1 · 17 февраля 2025 г.

Fixed minor graphical issues related to the color picker Added minimized widget support for BoxContainerWidgets Added minimized button for ColorPickerWidget Added toggle for the Saturation slider on ColorPickerWidget

1.1.0-1.20.1Релиз1.20.1 · 30 января 2025 г.
  • Migrate ImGui-based color picker to Minecraft native version
  • HTML Div style containers (scrollable(wip) and non scrollable)
  • Dropdown Selectors
  • Native Minecraft Color Picker
  • ImGui-rendering based widgets
1.1.0Релиз1.20.1 · 27 декабря 2024 г.
  • Unsafe API
  • FaeExtensions (cross-loader utility loading)
  • Raycast API

Комментарии

Загружаем…