什么是黏黏库?
黏黏库是一个服务器端UI库,允许在Forge和Fabric上创建可交互的界面。黏黏库不提供默认交互,而是作为一个通用的API,供插件与之配合使用。
设计能力
黏黏库采用建造者模式创建游戏内界面。此外,黏黏库还允许用户在菜单中创建页面。页面主要用于UI元素会超出可见限制的情况下,让您拥有分页视图!
要了解更多关于黏黏库API的信息,请参阅以下Wiki:
在您的项目中使用黏黏库
使用黏黏库时,有几个要注意的事项。黏黏库提供了一个默认的API层,大多数插件在导入黏黏库时应该使用它。如果您希望从IDE调试该模组,则还需要将启动器组件包含到黏黏库中。
存储库
repositories {
maven("https://maven.impactdev.net/repository/development/")
}
依赖关系
dependencies {
modImplementation("ca.landonjw.gooeylibs:api:3.0.0-1.20.1-SNAPSHOT")
// 当使用Forge时
modRuntimeOnly("ca.landonjw.gooeylibs:forge:3.0.0-1.20.1-SNAPSHOT")
// 当使用Fabric时
modRuntimeOnly("ca.landonjw.gooeylibs:fabric:3.0.0-1.20.1-SNAPSHOT")
}
来自Modrinth
3.1.1-1.21.x (3.1.1-1.21.x)
GooeyLibs-Neoforge-3.1.1-1.21.x.jar下载3.1.1-NeoForge#Release
## Fixes
* Numerous moveable button fixes/improvements (Thanks CheifArug)
* LinkedPage titles with Adventure based components should now behave normally
* Numerous moveable button fixes/improvements (Thanks CheifArug)
* LinkedPage titles with Adventure based components should now behave normally
展开
版本: 3.1.1-NeoForge
支持游戏: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
类型: NeoForge
Release
下载次数: 873
3.1.1-1.21.x (3.1.1-1.21.x)
GooeyLibs-Fabric-3.1.1-1.21.x.jar下载3.1.1-Fabric#Release
## Fixes
* Numerous moveable button fixes/improvements (Thanks CheifArug)
* LinkedPage titles with Adventure based components should now behave normally
* Numerous moveable button fixes/improvements (Thanks CheifArug)
* LinkedPage titles with Adventure based components should now behave normally
展开
版本: 3.1.1-Fabric
支持游戏: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
类型: Fabric
Release
下载次数: 23,094
3.1.0 (Neoforge 1.21.x)
GooeyLibs-Neoforge-3.1.0-1.21.x.jar下载3.1.0-Neoforge#Release
No changelog was specified.
展开
版本: 3.1.0-Neoforge
支持游戏: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
类型: NeoForge
Release
下载次数: 142
收录