登陆 注册 QQ登陆
快捷导航
查看: 1|回复: 0

[模组分享] Elegantia (Elegantia)-MOD模组

[复制链接]

5447

主题

24

回帖

7202

积分

龙❁妻

Rank: 8Rank: 8

经验
7202 EP
金粒
1691 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 17:31:47 | 显示全部楼层 |阅读模式 IP:北京
Elegantia (Elegantia)Github |相关wiki |源站链接支持: fabric , quiltGUI库适用于Minecraft及更多

Elegantia是Minecraft及其他应用程序的GUI库。它被用于Araraki Leo的模组。目前,该库处于早期开发阶段,因此尚未准备广泛使用(尚未开放访问)。

目前,该库包含以下工具:

- 用于处理gif图像的工具

- 用于创建配置并将其呈现为图形界面的工具,该界面自动应用于模组菜单

- 用于渲染小部件并将它们定位在空间中,既可以相对于屏幕,也可以相对于其他小部件

- 用于从Modrinth检查模组更新的工具

- 高级数学接口表示(如Rect,Vector等)

- 一小部分自定义小部件列表,其中可以突出显示CompositeWidget,它允许您轻松地从其他小部件(包括原版小部件)创建自定义复合小部件

入门

以下是适用于Minecraft版本从`1.20.2`到`1.20.4`的版本。对于Minecraft版本从`1.20`到`1.20.1`,请将`1.20.4`替换为`1.20.1`。

build.gradle
groovyrepositories {maven {url = \"https://api.modrinth.com/maven\"}}
dependencies {modImplementation \"maven.modrinth:elegantia:0.0.1-beta+fabric-1.20.4\"}

build.gradle.kts
groovyrepositories {maven(\"https://api.modrinth.com/maven\")}
dependencies {modImplementation(\"maven.modrinth\", \"elegantia\", \"0.0.1-beta+fabric-1.20.4\")}

截图:



来自Modrinth所有游戏版本1.211.21.11.20.21.20.31.20.41.201.20.1所有类型fabricquiltElegantia 0.0.1+1.21elegantia-0.0.1+1.21.jar下载0.0.1+fabric-1.21#Releaseelegantia-0.0.1+1.21-sources.jar下载0.0.1+fabric-1.21#Release- 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)展开版本: 0.0.1+fabric-1.21支持游戏: 1.21, 1.21.1类型:FabricRelease下载次数: 504Elegantia 0.0.1-beta+1.20.2-1.20.4elegantia-0.0.1-beta+1.20.2-1.20.4.jar下载0.0.1-beta+fabric-1.20.4#Betaelegantia-0.0.1-beta+1.20.2-1.20.4-sources.jar下载0.0.1-beta+fabric-1.20.4#Beta## 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)展开版本: 0.0.1-beta+fabric-1.20.4支持游戏: 1.20.2, 1.20.3, 1.20.4类型:FabricQuiltBeta下载次数: 1,238Elegantia 0.0.1-beta+1.20-1.20.1elegantia-0.0.1-beta+1.20-1.20.1.jar下载0.0.1-beta+fabric-1.20.1#Betaelegantia-0.0.1-beta+1.20-1.20.1-sources.jar下载0.0.1-beta+fabric-1.20.1#Beta## 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)展开版本: 0.0.1-beta+fabric-1.20.1支持游戏: 1.20, 1.20.1类型:FabricQuiltBeta下载次数: 10,289Elegantia 0.0.1-alpha+1.20.2-1.20.4elegantia-0.0.1-alpha+1.20.2-1.20.4.jar下载0.0.1-alpha+fabric-1.20.4#Alphaelegantia-0.0.1-alpha+1.20.2-1.20.4-sources.jar下载0.0.1-alpha+fabric-1.20.4#AlphaThe first publication[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)展开版本: 0.0.1-alpha+fabric-1.20.4支持游戏: 1.20.2, 1.20.3, 1.20.4类型:FabricQuiltAlpha下载次数: 195Elegantia 0.0.1-alpha+1.20-1.20.1elegantia-0.0.1-alpha+1.20-1.20.1.jar下载0.0.1-alpha+fabric-1.20.1#Alphaelegantia-0.0.1-alpha+1.20-1.20.1-sources.jar下载0.0.1-alpha+fabric-1.20.1#AlphaThe first publication[[Full Changelog]](https://github.com/aratakileo/elegantia/commits/0.0.1-alpha)展开版本: 0.0.1-alpha+fabric-1.20.1支持游戏: 1.20, 1.20.1类型:FabricQuiltAlpha下载次数: 278全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
Elegantia
楼主 2025-8-10 17:31:47 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2025-8-28 01:15 , Processed in 0.237813 second(s), 48 queries .

快速回复 返回顶部 返回列表