fix: bundle correct version of SpruceUI

This commit is contained in:
Martin Prokoph
2025-12-15 21:23:28 +01:00
parent 13adff2e26
commit f8117cf3d0
3 changed files with 7 additions and 3 deletions

View File

@@ -118,6 +118,8 @@ public class ControllerBindingButton extends ButtonWidget implements ControlsInp
@Override
protected void drawIcon(DrawContext context, int mouseX, int mouseY, float deltaTicks) {
this.drawButton(context);
this.drawLabel(context.getHoverListener(this, DrawContext.HoverType.NONE));
int x = this.getX();
if (this.binding.getButton().length > 1) {
x += (this.width / 2 - iconWidth / 2) - 4;

View File

@@ -24,7 +24,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
modImplementation include ("maven.modrinth:midnightlib:${rootProject.midnightlib_version}-fabric")
modImplementation ("dev.lambdaurora:spruceui:${project.spruceui_version}")
modImplementation include ("dev.lambdaurora:spruceui:${project.spruceui_version}")
include("dev.yumi.mc.core:yumi-mc-foundation:1.0.0-beta.1+1.21.11")
include 'org.aperlambda:lambdajcommon:1.8.1'
modCompileOnly "maven.modrinth:emi:${project.emi_version}"

View File

@@ -2,13 +2,15 @@
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2048M
loom.ignoreDependencyLoomVersionValidation=true
minecraft_version=1.21.11
supported_versions=
yarn_mappings=1.21.11+build.2
enabled_platforms=fabric,neoforge
archives_base_name=midnightcontrols
mod_version=1.11.4-alpha.1
mod_version=1.11.4-beta.1
maven_group=eu.midnightdust
release_type=beta
modrinth_id = bXX9h73M
@@ -27,7 +29,7 @@ quilt_loader_version=0.19.0-beta.18
quilt_fabric_api_version=7.0.1+0.83.0-1.20
sodium_version=mc1.21-0.6.0-beta.1
spruceui_version=9.0.0+1.21.9
spruceui_version=9.1.0+1.21.11
modmenu_version=10.0.0-beta.1
emotecraft_version=2.5.5+1.21.4-fabric
bendylib_version=2.0.+