diff --git a/build.gradle b/build.gradle index 35264a2..0a3f912 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,6 @@ buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } maven { url = 'https://repo.spongepowered.org/maven' } - jcenter() mavenCentral() } dependencies { @@ -15,13 +14,13 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' group = 'io.izzel.lightfall' -version = '1.0.0' +version = '1.0.1' archivesBaseName = 'lightfallclient' java.toolchain.languageVersion = JavaLanguageVersion.of(17) minecraft { - mappings channel: 'official', version: "1.18" + mappings channel: 'official', version: "1.18.2" runs { client { workingDirectory project.file('run') @@ -46,7 +45,7 @@ repositories { } dependencies { - minecraft 'net.minecraftforge:forge:1.18-38.0.12' + minecraft 'net.minecraftforge:forge:1.18.2-40.1.0' annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' } @@ -62,5 +61,5 @@ processResources { } jar { - manifest.attributes MixinConnector: 'io.izzel.lightfall.client.LightfallConnector' + manifest.attributes MixinConfigs: 'mixins.lightfall.json' } \ No newline at end of file diff --git a/src/main/java/io/izzel/lightfall/client/LightfallConnector.java b/src/main/java/io/izzel/lightfall/client/LightfallConnector.java deleted file mode 100644 index a9ed79c..0000000 --- a/src/main/java/io/izzel/lightfall/client/LightfallConnector.java +++ /dev/null @@ -1,12 +0,0 @@ -package io.izzel.lightfall.client; - -import org.spongepowered.asm.mixin.Mixins; -import org.spongepowered.asm.mixin.connect.IMixinConnector; - -public class LightfallConnector implements IMixinConnector { - - @Override - public void connect() { - Mixins.addConfiguration("mixins.lightfall.json"); - } -} diff --git a/src/main/java/io/izzel/lightfall/client/mixin/MinecraftMixin.java b/src/main/java/io/izzel/lightfall/client/mixin/MinecraftMixin.java deleted file mode 100644 index 2edfa5a..0000000 --- a/src/main/java/io/izzel/lightfall/client/mixin/MinecraftMixin.java +++ /dev/null @@ -1,9 +0,0 @@ -package io.izzel.lightfall.client.mixin; - -import net.minecraft.client.Minecraft; -import org.spongepowered.asm.mixin.Mixin; - -@Mixin(Minecraft.class) -public class MinecraftMixin { - -} diff --git a/src/main/resources/mixins.lightfall.json b/src/main/resources/mixins.lightfall.json index c2d7361..b56c311 100644 --- a/src/main/resources/mixins.lightfall.json +++ b/src/main/resources/mixins.lightfall.json @@ -8,7 +8,6 @@ "defaultRequire": 1 }, "mixins": [ - "ClientLoginNetHandlerMixin", - "MinecraftMixin" + "ClientLoginNetHandlerMixin" ] } \ No newline at end of file