naming, description, removed mixin
This commit is contained in:
@@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -3,15 +3,15 @@
|
|||||||
"id": "mfmd2627",
|
"id": "mfmd2627",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "mfmd2627",
|
"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": [
|
"authors": [
|
||||||
"Me!"
|
"The GTA team"
|
||||||
],
|
],
|
||||||
"contact": {
|
"contact": {
|
||||||
"homepage": "https://fabricmc.net/",
|
"homepage": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/Folien/wiki/welcome",
|
||||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
"sources": "https://git.jottyfan.de/GTA_Minecraft_Fabric_Mod_Development/mfmd2627"
|
||||||
},
|
},
|
||||||
"license": "CC0-1.0",
|
"license": "AGPL-3",
|
||||||
"icon": "assets/mfmd2627/icon.png",
|
"icon": "assets/mfmd2627/icon.png",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
@@ -19,9 +19,6 @@
|
|||||||
"de.jottyfan.minecraft.Mfmd2627"
|
"de.jottyfan.minecraft.Mfmd2627"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mixins": [
|
|
||||||
"mfmd2627.mixins.json"
|
|
||||||
],
|
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.19.3",
|
"fabricloader": ">=0.19.3",
|
||||||
"minecraft": "~26.2",
|
"minecraft": "~26.2",
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"required": true,
|
|
||||||
"package": "de.jottyfan.minecraft.mixin",
|
|
||||||
"compatibilityLevel": "JAVA_25",
|
|
||||||
"mixins": [
|
|
||||||
"ExampleMixin"
|
|
||||||
],
|
|
||||||
"injectors": {
|
|
||||||
"defaultRequire": 1
|
|
||||||
},
|
|
||||||
"overwrites": {
|
|
||||||
"requireAnnotations": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user