Changing mixin name

This commit is contained in:
Almtesh committed 2026-11-29 03:30:43 +01:00
1 parent 3a3da835a8
commit b5e0a91a26
2 files changed
+2 -2

No files matched your search

@@ -7,7 +7,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftServer.class)
public class ExampleMixin {
public class ParrotMixin {
@Inject(at = @At("HEAD"), method = "loadLevel")
private void init(CallbackInfo info) {
// This code is injected into the start of MinecraftServer.loadLevel()V
@@ -3,7 +3,7 @@
"package": "net.almtesh.stickyparrots.mixin",
"compatibilityLevel": "JAVA_25",
"mixins": [
"ExampleMixin"
"ParrotMixin"
],
"injectors": {
"defaultRequire": 1