A Minecraft mod API which adds some GUI utilities.
Just do ./gradlew build
and everything should build just fine!
To test SpruceUI, you can run the testmod with ./gradlew runTestmodClient
.
You can look at the SpruceUI test mod for examples of use.
Add this to your build.gradle
in addition of the base Fabric mod build.gradle
:
repositories {
mavenLocal()
maven {
name 'Gegy'
url 'https://maven.gegy.dev'
}
}
dependencies {
/* Fabric definitions */
include(modImplementation("dev.lambdaurora:spruceui:${project.spruceui_version}"))
}
And this to your gradle.properties
:
spruceui_version=5.1.0+1.21
It will JAR-in-JAR SpruceUI so users of your mod don't need to download it separately!