
Elegantia
GUI library for Minecraft and more
Автор: aratakileo26,2 тыс.8обновлён 21 авг. 2024 г.
ДекорБиблиотекиУправление
Описание
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://github.com/aratakileo/elegantia/blob/main/shared/badges/requires_elegantia.svg?raw=true" height="64" alt="Requires elegantia"/>
</a>
<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>
<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>
<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>
<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
Галерея
Последние версии
Все версии →release
Elegantia 0.0.1+1.21
0.0.1+fabric-1.2121 авг. 2024 г.954Minecraft: 1.21, 1.21.1fabric
Что нового
- 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.java` and related
- refactor `ModrinthUpdateChecker.java` and related
- new drawables:
- `TextureDrawable.java`
- `ElasticTextureDrawable.java`
- `TexturedProgressDrawable.java`
- custom GuiGraphics interface `ElGuiGraphics.java`
- new drawers:
- `CircleDrawer.java`
- `TextureDrawer.java`
- new `AbstractContainerScreen.java`
- new Size2i interfaces
- new utils:
- `InitOnGet.java`
- `Random.java`
- `RegistriesUtil.java`
- new minecraft world interfaces:
- `AbstractContainerBlockEntity.java`
- `ContainerAutoData.java`
- `SimpleContainerMenu.java`
- `MultyOutputRecipe.java`
- `Recipes.java`
- `FuelRegistry.java`
- `ItemRandomRange.java`
- `ElegantedSlot.java`
- `SlotController.java`
- `FluidSlotController.java`
[Full Changelog 0.0.1-beta...0.0.1](https://github.com/aratakileo/elegantia/compare/0.0.1-beta...0.0.1)
beta
Elegantia 0.0.1-beta+1.20.2-1.20.4
0.0.1-beta+fabric-1.20.427 февр. 2024 г.1,5 тыс.Minecraft: 1.20.2, 1.20.3, 1.20.4fabric, quilt
Что нового
## What's Changed
* 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)
beta
Elegantia 0.0.1-beta+1.20-1.20.1
0.0.1-beta+fabric-1.20.127 февр. 2024 г.23,1 тыс.Minecraft: 1.20, 1.20.1fabric, quilt
Что нового
## What's Changed
* 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)
alpha
Elegantia 0.0.1-alpha+1.20.2-1.20.4
0.0.1-alpha+fabric-1.20.412 февр. 2024 г.259Minecraft: 1.20.2, 1.20.3, 1.20.4fabric, quilt
Что нового
The first publication
[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)
alpha
Elegantia 0.0.1-alpha+1.20-1.20.1
0.0.1-alpha+fabric-1.20.112 февр. 2024 г.378Minecraft: 1.20, 1.20.1fabric, quilt
Что нового
The first publication
[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)
