diff --git a/gradle.properties b/gradle.properties index 425158b..58a9493 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.16.7 # Mod Properties -mod_version=1.7.6 +mod_version=1.7.7 maven_group=cc.reconnected archives_base_name=rcc-chatbox diff --git a/src/main/java/cc/reconnected/chatbox/mixin/ExampleMixin.java b/src/main/java/cc/reconnected/chatbox/mixin/ExampleMixin.java deleted file mode 100644 index 8703b04..0000000 --- a/src/main/java/cc/reconnected/chatbox/mixin/ExampleMixin.java +++ /dev/null @@ -1,15 +0,0 @@ -package cc.reconnected.chatbox.mixin; - -import net.minecraft.server.MinecraftServer; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; - -@Mixin(MinecraftServer.class) -public class ExampleMixin { - @Inject(at = @At("HEAD"), method = "loadWorld") - private void init(CallbackInfo info) { - // This code is injected into the start of MinecraftServer.loadWorld()V - } -} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index d9a11b1..5734929 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,34 +1,32 @@ { - "schemaVersion": 1, - "id": "rcc-chatbox", - "version": "${version}", - "name": "Chatbox", - "description": "Chatbox server for ReconnectedCC", - "authors": [ - "AlexDevs" - ], - "contact": { - "homepage": "https://reconnected.cc", - "sources": "https://github.com/ReconnectedCC/rcc-chatbox" - }, - "license": "MIT License", - "icon": "assets/rcc-chatbox/icon.png", - "environment": "*", - "entrypoints": { - "main": [ - "cc.reconnected.chatbox.Chatbox" - ] - }, - "mixins": [ - "rcc-chatbox.mixins.json" - ], - "depends": { - "fabricloader": ">=0.16.5", - "minecraft": "~1.20.1", - "java": ">=17", - "fabric-api": "*", - "rcc-server": ">=1.16.1", - "rcc-discord": ">=1.7.9", - "luckperms": ">=5.4" - } + "schemaVersion": 1, + "id": "rcc-chatbox", + "version": "${version}", + "name": "Chatbox", + "description": "Chatbox server for ReconnectedCC", + "authors": [ + "AlexDevs" + ], + "contact": { + "homepage": "https://reconnected.cc", + "sources": "https://github.com/ReconnectedCC/rcc-chatbox" + }, + "license": "MIT License", + "icon": "assets/rcc-chatbox/icon.png", + "environment": "*", + "entrypoints": { + "main": [ + "cc.reconnected.chatbox.Chatbox" + ] + }, + "mixins": [], + "depends": { + "fabricloader": ">=0.16.5", + "minecraft": "~1.20.1", + "java": ">=17", + "fabric-api": "*", + "rcc-server": ">=1.16.1", + "rcc-discord": ">=1.7.9", + "luckperms": ">=5.4" + } } \ No newline at end of file diff --git a/src/main/resources/rcc-chatbox.mixins.json b/src/main/resources/rcc-chatbox.mixins.json deleted file mode 100644 index a5a1f69..0000000 --- a/src/main/resources/rcc-chatbox.mixins.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "required": true, - "package": "cc.reconnected.chatbox.mixin", - "compatibilityLevel": "JAVA_17", - "mixins": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - } -} \ No newline at end of file