From 119b75811f5077adccd3bff2e7e04f2b823e87c3 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Mon, 3 May 2021 15:18:20 +0200 Subject: [PATCH] Update to minecraft 1.17 --- .../snowygui/gui/elements/ClickBox.kt | 10 +++---- forge/src/main/resources/META-INF/mods.toml | 2 +- gradle.properties | 26 +++++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt index 9a264f4..df95d17 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickBox.kt @@ -93,11 +93,11 @@ class ClickBox( vertex(x + width + inclination, y + height, 0.0).colorEnd() tessellator.end() - colorShader() - begin(VertexFormat.Mode.DEBUG_LINES, DefaultVertexFormat.POSITION_COLOR) - vertex(x + inclination, y + height, 0.0).colorEnd(Colors.WHITE_LINES.hexValue) - vertex(x + width, y + height, 0.0).colorEnd(Colors.WHITE_LINES.hexValue) - tessellator.end() + colorShader() + begin(VertexFormat.Mode.DEBUG_LINES, DefaultVertexFormat.POSITION_COLOR) + vertex(x + inclination, y + height, 0.0).colorEnd(Colors.WHITE_LINES.hexValue) + vertex(x + width, y + height, 0.0).colorEnd(Colors.WHITE_LINES.hexValue) + tessellator.end() } endDraw() diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 56f1d8b..40db18b 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -23,7 +23,7 @@ side = "CLIENT" [[dependencies.snowygui]] modId = "forge" mandatory = true -versionRange = "[${forge_version},)" +versionRange = "[37,)" ordering = "NONE" side = "BOTH" diff --git a/gradle.properties b/gradle.properties index 1f3f56d..7c19263 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,16 +7,16 @@ org.gradle.parallel=true org.gradle.unsafe.configuration-cache=on org.gradle.vfs.watch=true -minecraft=1.19.4 -forge_version=45.0 -kotlinforforge=4.1.0 -kotlinVer=1.8.20 -kotlin_coroutines_version=1.7.0-RC -serializationVer=1.5.0 -fabric_loader_version=0.14.19 -fabric_language_kotlin=1.9.3+kotlin.1.8.20 -fabric_resource_loader_version=0.11.4+bd913b0d4e -fabric_rendering_api_version=2.1.1+8f878217f4 -fabric_api_base_version=0.4.5+ec94c6f6e0 -clothconfig_version=10.0.96 -modmenu_version=6.2.1 +minecraft=1.17 +forge_version=37.1 +kotlinforforge=1.17.0 +kotlinVer=1.6.0 +kotlin_coroutines_version=1.5.0 +serializationVer=1.3.1 +fabric_loader_version=0.11.7 +fabric_language_kotlin=1.7.0+kotlin.1.6.0 +fabric_resource_loader_version=0.4.7+b7ab6121d5 +fabric_rendering_api_version=1.6.0+a02b4463d5 +fabric_api_base_version=0.3.0+a02b4463d5 +clothconfig_version=4.11.19 +modmenu_version=2.0.0-beta.7