Base functions and first module #1

Merged
c0de merged 18 commits from initial-functions into main 2023-03-22 23:20:13 +00:00
Showing only changes of commit 79c81d7772 - Show all commits

View File

@ -1,6 +1,7 @@
package dev.c0de.minecraft.mixin; package dev.c0de.minecraft.mixin;
import dev.c0de.minecraft.c0deFoxMod; import dev.c0de.minecraft.c0deFoxMod;
import net.minecraft.client.gui.screen.TitleScreen; import net.minecraft.client.gui.screen.TitleScreen;
import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.At;
@ -11,7 +12,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
public class c0deFoxMixin { public class c0deFoxMixin {
@Inject(at = @At("HEAD"), method = "init()V") @Inject(at = @At("HEAD"), method = "init()V")
private void init(CallbackInfo info) { private void init(CallbackInfo info) {
c0deFoxMod.LOGGER.info("This line is printed by an example mod mixin!"); // c0deFoxMod.LOGGER.info("This line is printed by an example mod mixin!");
} }
} }