|
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
回复(0)
收起回复
|