From 4a47db9c5b84fc1a1dcfa3ff4ccf4d726b08928c Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 23 Jun 2023 09:04:12 +0200 Subject: [PATCH] Release v2.10.2+fabric Fixed a minor Mixin mistake. --- tcdcommons-1.20.1/gradle.properties | 2 +- .../github/thecsdev/tcdcommons/api/client/gui/TDrawContext.java | 2 +- .../tcdcommons/{ => client}/mixin/hooks/MixinDrawContext.java | 2 +- .../src/main/resources/tcdcommons.client.mixin.hooks.json | 2 +- .../src/main/resources/tcdcommons.mixin.hooks.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/{ => client}/mixin/hooks/MixinDrawContext.java (93%) diff --git a/tcdcommons-1.20.1/gradle.properties b/tcdcommons-1.20.1/gradle.properties index 0ab67d0..da8bd63 100644 --- a/tcdcommons-1.20.1/gradle.properties +++ b/tcdcommons-1.20.1/gradle.properties @@ -18,7 +18,7 @@ org.gradle.jvmargs=-Xmx1G It aims to improve performance by avoiding rewriting the same code, and to speed up the mod development process. mod_author = TheCSDev - mod_version = 2.10.1+1.20.1 + mod_version = 2.10.2+1.20.1 mod_contact_homepage = https://github.com/TheCSDev mod_contact_sources = https://github.com/TheCSDev/mc-tcdcommons diff --git a/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/api/client/gui/TDrawContext.java b/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/api/client/gui/TDrawContext.java index 1f06608..d61ed3f 100644 --- a/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/api/client/gui/TDrawContext.java +++ b/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/api/client/gui/TDrawContext.java @@ -5,7 +5,7 @@ import io.github.thecsdev.tcdcommons.TCDCommons; import io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen; import io.github.thecsdev.tcdcommons.api.client.gui.util.HorizontalAlignment; -import io.github.thecsdev.tcdcommons.mixin.hooks.MixinDrawContext; +import io.github.thecsdev.tcdcommons.client.mixin.hooks.MixinDrawContext; import net.minecraft.client.font.TextRenderer; import net.minecraft.client.gui.DrawContext; import net.minecraft.text.Text; diff --git a/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/mixin/hooks/MixinDrawContext.java b/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/client/mixin/hooks/MixinDrawContext.java similarity index 93% rename from tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/mixin/hooks/MixinDrawContext.java rename to tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/client/mixin/hooks/MixinDrawContext.java index 1a102ab..0ade7c8 100644 --- a/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/mixin/hooks/MixinDrawContext.java +++ b/tcdcommons-1.20.1/src/main/java/io/github/thecsdev/tcdcommons/client/mixin/hooks/MixinDrawContext.java @@ -1,4 +1,4 @@ -package io.github.thecsdev.tcdcommons.mixin.hooks; +package io.github.thecsdev.tcdcommons.client.mixin.hooks; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mutable; diff --git a/tcdcommons-1.20.1/src/main/resources/tcdcommons.client.mixin.hooks.json b/tcdcommons-1.20.1/src/main/resources/tcdcommons.client.mixin.hooks.json index 39eefeb..997356c 100644 --- a/tcdcommons-1.20.1/src/main/resources/tcdcommons.client.mixin.hooks.json +++ b/tcdcommons-1.20.1/src/main/resources/tcdcommons.client.mixin.hooks.json @@ -3,6 +3,6 @@ "minVersion": "0.8", "package": "io.github.thecsdev.tcdcommons.client.mixin.hooks", "compatibilityLevel": "JAVA_17", - "client": ["MixinButtonWidget", "MixinGridWidget"], + "client": ["MixinButtonWidget", "MixinGridWidget", "MixinDrawContext"], "injectors": { "defaultRequire": 1 } } \ No newline at end of file diff --git a/tcdcommons-1.20.1/src/main/resources/tcdcommons.mixin.hooks.json b/tcdcommons-1.20.1/src/main/resources/tcdcommons.mixin.hooks.json index ad6147e..20eb69a 100644 --- a/tcdcommons-1.20.1/src/main/resources/tcdcommons.mixin.hooks.json +++ b/tcdcommons-1.20.1/src/main/resources/tcdcommons.mixin.hooks.json @@ -3,6 +3,6 @@ "minVersion": "0.8", "package": "io.github.thecsdev.tcdcommons.mixin.hooks", "compatibilityLevel": "JAVA_17", - "mixins": ["MixinBiomeAccess", "MixinStatHandler", "MixinArgumentTypes", "MixinDrawContext"], + "mixins": ["MixinBiomeAccess", "MixinStatHandler", "MixinArgumentTypes"], "injectors": { "defaultRequire": 1 } } \ No newline at end of file