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:
<a href="https://modrinth.com/mod/elegantia">
<img src="https://goldmedia.top/uploads/gallery/elegantia_desc_3_6bca1c81.svg" height="64" alt="Requires elegantia"/>
</a>
<a href="https://modrinth.com/mod/fabric-api">
<img src="https://goldmedia.top/uploads/gallery/elegantia_desc_5_c45de363.svg" height="64" alt="Requires fabric API"/>
</a>
<a href="https://modrinth.com/mod/rei">
<img src="https://goldmedia.top/uploads/gallery/elegantia_desc_7_ba13076a.svg" height="64" alt="Supports REI"/>
</a>
<a href="https://modrinth.com/mod/modmenu">
<img src="https://goldmedia.top/uploads/gallery/elegantia_desc_9_2e5f5a7f.svg" height="64" alt="Supports Mod Menu"/>
</a>
<a href="Insert your discord invite here">
</a>
for modrinth page replace .svg to .png
How to Install Elegantia (Mod)
Elegantia by aratakileo is verified for Fabric, Quilt across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1 (latest release: 0.0.1+fabric-1.21, file size: 263 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Elegantia file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- complete refactoring of the project code and structure:
- refactor
AbstractScreen.java - refactor widgets
- refactor drawables
- refactor
WidgetBuilder.java - refactor math interfaces and related
- refactor
ModInfo.javaand related - refactor
ModrinthUpdateChecker.javaand related - new drawables:
TextureDrawable.javaElasticTextureDrawable.javaTexturedProgressDrawable.java- custom GuiGraphics interface
ElGuiGraphics.java - new drawers:
CircleDrawer.javaTextureDrawer.java- new
AbstractContainerScreen.java - new Size2i interfaces
- new utils:
InitOnGet.javaRandom.javaRegistriesUtil.java- new minecraft world interfaces:
AbstractContainerBlockEntity.javaContainerAutoData.javaSimpleContainerMenu.javaMultyOutputRecipe.javaRecipes.javaFuelRegistry.javaItemRandomRange.javaElegantedSlot.javaSlotController.javaFluidSlotController.java
[Full Changelog 0.0.1-beta...0.0.1](https://github.com/aratakileo/elegantia/compare/0.0.1-beta...0.0.1)
- Fix game crash when Sinytra Connector is installed by [@aratakileo](https://github.com/aratakileo) in [#2](https://github.com/aratakileo/elegantia/pull/2) ([#1](https://github.com/aratakileo/elegantia/issues/1))
- The interface for adding built-in resource packs by [@aratakileo](https://github.com/aratakileo) in [#3](https://github.com/aratakileo/elegantia/pull/3)
- Game resource reload listener (by analogy to fabric's
ResourceManagerHelper.get(...).registerReloadListener(...)) - Drawable interfaces for GUI (by analogy to Android's drawables)
- RectDrawer class instead of rect render methods of GuiGraphicsUtil (+ advanced gradient rendering settings)
- Extension of the information provided by the ModInfo interface
- Fix game crash that occurs when ModrinthUpdateChecker did not find the specified project on modrinth
- Added more docs to the controversial parts of the code
[[Full Changelog 0.0.1-alpha...0.0.1-beta]](https://github.com/aratakileo/elegantia/compare/0.0.1-alpha...0.0.1-beta)
- Fix game crash when Sinytra Connector is installed by [@aratakileo](https://github.com/aratakileo) in [#2](https://github.com/aratakileo/elegantia/pull/2) ([#1](https://github.com/aratakileo/elegantia/issues/1))
- The interface for adding built-in resource packs by [@aratakileo](https://github.com/aratakileo) in [#3](https://github.com/aratakileo/elegantia/pull/3)
- Game resource reload listener (by analogy to fabric's
ResourceManagerHelper.get(...).registerReloadListener(...)) - Drawable interfaces for GUI (by analogy to Android's drawables)
- RectDrawer class instead of rect render methods of GuiGraphicsUtil (+ advanced gradient rendering settings)
- Extension of the information provided by the ModInfo interface
- Fix game crash that occurs when ModrinthUpdateChecker did not find the specified project on modrinth
- Added more docs to the controversial parts of the code
[[Full Changelog 0.0.1-alpha...0.0.1-beta]](https://github.com/aratakileo/elegantia/compare/0.0.1-alpha...0.0.1-beta)
[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)
[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)