diff --git a/build-fabric.gradle b/build-fabric.gradle index 244eb47..e1270f7 100644 --- a/build-fabric.gradle +++ b/build-fabric.gradle @@ -2,7 +2,7 @@ plugins { id 'fabric-loom' version '1.0-SNAPSHOT' } -def minecraftVersion = "1.19.3" // Used for output JAR filenames. +def minecraftVersion = "1.19.4" // Used for output JAR filenames. version = project.mod_version group = "yalter.mousetweaks" @@ -35,10 +35,10 @@ loom { dependencies { minecraft "com.mojang:minecraft:${minecraftVersion}" mappings loom.officialMojangMappings() - modImplementation "net.fabricmc:fabric-loader:0.14.11" - modImplementation "net.fabricmc.fabric-api:fabric-api:0.68.1+1.19.3" + modImplementation "net.fabricmc:fabric-loader:0.14.17" + modImplementation "net.fabricmc.fabric-api:fabric-api:0.75.3+1.19.4" - modImplementation 'com.terraformersmc:modmenu:5.0.2' + modImplementation 'com.terraformersmc:modmenu:6.1.0-rc.1' } processResources { diff --git a/build.gradle b/build.gradle index eb466e4..3002ba7 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' -def minecraftVersion = "1.19.3" // Used for output JAR filenames. +def minecraftVersion = "1.19.4" // Used for output JAR filenames. version = project.mod_version group = "yalter.mousetweaks" @@ -38,7 +38,7 @@ mixin { } minecraft { - mappings channel: 'official', version: '1.19.3' + mappings channel: 'official', version: '1.19.4' runs { client { @@ -70,7 +70,7 @@ minecraft { } dependencies { - minecraft 'net.minecraftforge:forge:1.19.3-44.0.37' + minecraft 'net.minecraftforge:forge:1.19.4-45.0.6' annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' } diff --git a/src/main/java/yalter/mousetweaks/ConfigScreen.java b/src/main/java/yalter/mousetweaks/ConfigScreen.java index ca3fa43..01cc55d 100644 --- a/src/main/java/yalter/mousetweaks/ConfigScreen.java +++ b/src/main/java/yalter/mousetweaks/ConfigScreen.java @@ -82,7 +82,7 @@ public void onClose() { @Override public void render(PoseStack poseStack, int i, int j, float f) { - this.renderDirtBackground(0); + this.renderDirtBackground(poseStack); drawCenteredString(poseStack, this.font, this.title, this.width / 2, 15, 0xFFFFFF); super.render(poseStack, i, j, f); } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index f604c11..b156868 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,9 +34,9 @@ "mousetweaks-fabric.mixins.json" ], "depends": { - "fabricloader": ">=0.14.11", + "fabricloader": ">=0.14.17", "fabric": "*", - "minecraft": "~1.19.3", + "minecraft": "~1.19.4", "java": ">=17" }, "suggests": {}