From a8ab8f3d6326211f6e07694c64ebd8b6ba195988 Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 2 May 2023 22:38:48 +0200 Subject: Todos --- .../mixins/MixinClientBrandRetriever.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt (limited to 'src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt') diff --git a/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt b/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt new file mode 100644 index 0000000..f5ccf23 --- /dev/null +++ b/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt @@ -0,0 +1,18 @@ +package moe.nea.notenoughupdates.mixins + +import org.spongepowered.asm.mixin.Mixin +import org.spongepowered.asm.mixin.Overwrite +import net.minecraft.client.ClientBrandRetriever + +@Mixin(ClientBrandRetriever::class) +class MixinClientBrandRetriever { + +private companion object { + @JvmStatic + @Overwrite + fun getClientModName(): String { + return "penis" + } + } + +} -- cgit