diff --git a/build.gradle b/build.gradle index 8d346d6..c42fa94 100644 --- a/build.gradle +++ b/build.gradle @@ -28,13 +28,13 @@ repositories { } dependencies { - minecraft("net.minecraft:minecraft:1.20.1") - mappings("net.fabricmc:yarn:1.20.1+build.1") - modImplementation("net.fabricmc:fabric-loader:0.14.21") + minecraft("net.minecraft:minecraft:1.20.2") + mappings("net.fabricmc:yarn:1.20.2+build.1") + modImplementation("net.fabricmc:fabric-loader:0.15.2") - modImplementation("net.fabricmc.fabric-api:fabric-api:0.84.0+1.20.1") - modImplementation("com.terraformersmc:modmenu:7.1.0") - modImplementation("me.shedaniel.cloth:cloth-config-fabric:11.0.99") + modImplementation("net.fabricmc.fabric-api:fabric-api:0.91.2+1.20.2") + modImplementation("com.terraformersmc:modmenu:8.0.0") + modImplementation("me.shedaniel.cloth:cloth-config-fabric:12.0.113") } java { @@ -76,7 +76,7 @@ System.getenv("CURSEFORGE")?.with { String key -> releaseType = "release" } - addGameVersion("1.20.1") + addGameVersion("1.20.2") addGameVersion("Fabric") mainArtifact(remapJar) { @@ -109,7 +109,7 @@ modrinth { } uploadFile.set(remapJar) - gameVersions.addAll(["1.20.1"]) + gameVersions.addAll(["1.20.2"]) dependencies { required.project("fabric-api") diff --git a/src/main/java/me/ramidzkh/fabrishot/config/InstallClothConfigScreen.java b/src/main/java/me/ramidzkh/fabrishot/config/InstallClothConfigScreen.java index fb6af2a..dda1b7d 100644 --- a/src/main/java/me/ramidzkh/fabrishot/config/InstallClothConfigScreen.java +++ b/src/main/java/me/ramidzkh/fabrishot/config/InstallClothConfigScreen.java @@ -51,7 +51,7 @@ protected void init() { @Override public void render(DrawContext drawContext, int mouseX, int mouseY, float delta) { - renderBackground(drawContext); + super.render(drawContext, mouseX, mouseY, delta); int textWidth = client.textRenderer.getWidth(INSTALL_CLOTH_CONFIG); drawContext.drawTextWithShadow(client.textRenderer, INSTALL_CLOTH_CONFIG, (width - textWidth) / 2, height / 3, 0xFF0000); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 77bb7d1..f57ccb1 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -18,7 +18,7 @@ "name": "Fabrishot", "description": "Take high resolution screenshots because why not", "depends": { - "minecraft": "1.20.1", + "minecraft": "1.20.2", "fabric-lifecycle-events-v1": "*", "fabric-key-binding-api-v1": "*" },