作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4
平台: neoforge
标签: library utility
GooeyLibs is a server-side UI library that allows creation of interactable screens for both Forge and Fabric. GooeyLibs provides no default interaction, and serves as a general purpose API for plugins to work alongside with.
GooeyLibs follows the builder pattern for creating in-game screens. Additionally, GooeyLibs also allows for users to create pages within menus. Pages are primarily useful where elements of a UI would otherwise flow beyond the UI's visible limits, allowing you to have a paginated view instead!
To learn more about GooeyLib's API, see the following wiki: https://github.com/landonjw/GooeyLibs/wiki
When using GooeyLibs, there are a few things to note. GooeyLibs provides a default API layer that most plugins should use when importing GooeyLibs. If you wish to debug the mod from the IDE, you'll want to also include the launcher components to GooeyLibs.
repositories {
maven("https://maven.impactdev.net/repository/development/")
}
dependencies {
modImplementation("ca.landonjw.gooeylibs:api:3.0.0-1.20.1-SNAPSHOT")
// When using forge
modRuntimeOnly("ca.landonjw.gooeylibs:forge:3.0.0-1.20.1-SNAPSHOT")
// When using fabric
modRuntimeOnly("ca.landonjw.gooeylibs:fabric:3.0.0-1.20.1-SNAPSHOT")
}请登录后举报
暂无评论,抢个沙发吧~