Elegantia

Quick rating

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

Elegantia

By aratakileoOwner

No reviews yet

GUI library for Minecraft and more

Mod Loaders
Minecraft

About

Description

Elegantia

To learn more about how to use this library, you can check [Getting started & Quick docs]

GUI library for Minecraft and more. It is used in Araraki Leo mods. So far, the library is in the early stages of development, which is why it is not yet intended for widespread use (early access).

At the moment, the library contains tools:

  • for working with gif images
  • for creating configurations and presenting them as a graphical interface, which is automatically applied to Mod Menu
  • for rendering widgets and positioning them in space both in relation to the screen and to other widgets
  • for checking mod updates from Modrinth
  • advanced mathematical interfaces representations (like Rect, Vector, etc.)
  • a little list of custom widgets, among which you can highlight CompositeWidget, which allows you to effortlessly create a custom composite widget from other widgets (including vanilla ones)
Requires fabric API Supports Mod Menu Chat with us on Discord

Elegantia

It is used in Araraki Leo mods. Contains tools:

  • GUI and graphics (widgets, drawers, drawables)
  • for textures
  • for resource packs
  • quick configuration
  • modrinth update checker
  • math interfaces
  • world utils
  • other utils

Getting started

Insert in build.gradle

repositories {
    maven {
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    modImplementation "maven.modrinth:elegantia:0.0.1+fabric-1.21"
}
Insert in build.gradle.kts
repositories {
    maven("https://api.modrinth.com/maven")
}

dependencies {
    modImplementation("maven.modrinth", "elegantia", "0.0.1+fabric-1.21")
}

Page badges

You can place badges on your project page to improve the perception of the posted information, as well as to improve the appearance of the page:

Requires elegantia
<a href="https://modrinth.com/mod/elegantia">
    <img src="https://github.com/aratakileo/elegantia/blob/main/shared/badges/requires_elegantia.svg?raw=true" height="64" alt="Requires elegantia"/>
</a>
Requires fabric API
<a href="https://modrinth.com/mod/fabric-api">
    <img src="https://github.com/aratakileo/elegantia/blob/main/shared/badges/requires_fabric_api.svg?raw=true" height="64" alt="Requires fabric API"/>
</a>
Supports REI
<a href="https://modrinth.com/mod/rei">
    <img src="https://github.com/aratakileo/elegantia/blob/main/shared/badges/supports_rei.svg?raw=true" height="64" alt="Supports REI"/>
</a>
Supports Mod Menu
<a href="https://modrinth.com/mod/modmenu">
    <img src="https://github.com/aratakileo/elegantia/blob/main/shared/badges/supports_mod_menu.svg?raw=true" height="64" alt="Supports Mod Menu"/>
</a>
Chat with us on Discord
<a href="Insert your discord invite here">
    <img src="https://github.com/aratakileo/elegantia/blob/main/shared/badges/chat_with_us_on_discord.svg?raw=true" height="64" alt="Chat with us on Discord"/>
</a>

for modrinth page replace .svg to .png