From 0de5a8a4c7863c160f8b217688d9602fdbb6a595 Mon Sep 17 00:00:00 2001 From: Jottyfan Date: Sat, 4 Jul 2026 10:06:45 +0200 Subject: [PATCH] naming, description, removed mixin --- .../de/jottyfan/minecraft/mixin/ExampleMixin.java | 15 --------------- src/main/resources/fabric.mod.json | 13 +++++-------- src/main/resources/mfmd2627.mixins.json | 14 -------------- 3 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 src/main/java/de/jottyfan/minecraft/mixin/ExampleMixin.java delete mode 100644 src/main/resources/mfmd2627.mixins.json diff --git a/src/main/java/de/jottyfan/minecraft/mixin/ExampleMixin.java b/src/main/java/de/jottyfan/minecraft/mixin/ExampleMixin.java deleted file mode 100644 index bb9fe3f..0000000 --- a/src/main/java/de/jottyfan/minecraft/mixin/ExampleMixin.java +++ /dev/null @@ -1,15 +0,0 @@ -package de.jottyfan.minecraft.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 = "loadLevel") - private void init(CallbackInfo info) { - // This code is injected into the start of MinecraftServer.loadLevel()V - } -} \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index cd219ea..7999e98 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -3,15 +3,15 @@ "id": "mfmd2627", "version": "${version}", "name": "mfmd2627", - "description": "This is an example description! Tell everyone what your mod is about!", + "description": "A mod for learning how to develop mods in a group", "authors": [ - "Me!" + "The GTA team" ], "contact": { - "homepage": "https://fabricmc.net/", - "sources": "https://github.com/FabricMC/fabric-example-mod" + "homepage": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/Folien/wiki/welcome", + "sources": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/mfmd2627" }, - "license": "CC0-1.0", + "license": "AGPL-3", "icon": "assets/mfmd2627/icon.png", "environment": "*", "entrypoints": { @@ -19,9 +19,6 @@ "de.jottyfan.minecraft.Mfmd2627" ] }, - "mixins": [ - "mfmd2627.mixins.json" - ], "depends": { "fabricloader": ">=0.19.3", "minecraft": "~26.2", diff --git a/src/main/resources/mfmd2627.mixins.json b/src/main/resources/mfmd2627.mixins.json deleted file mode 100644 index 916a257..0000000 --- a/src/main/resources/mfmd2627.mixins.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "required": true, - "package": "de.jottyfan.minecraft.mixin", - "compatibilityLevel": "JAVA_25", - "mixins": [ - "ExampleMixin" - ], - "injectors": { - "defaultRequire": 1 - }, - "overwrites": { - "requireAnnotations": true - } -} \ No newline at end of file