17 lines
547 B
Java
17 lines
547 B
Java
package net.saltymc.eaa.mixin;
|
|
|
|
import net.minecraft.client.gui.screen.TitleScreen;
|
|
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;
|
|
|
|
import static net.saltymc.eaa.EaaMod.getLogger;
|
|
|
|
@Mixin(TitleScreen.class)
|
|
public class ExampleMixin {
|
|
@Inject(at = @At("HEAD"), method = "init()V")
|
|
private void init(CallbackInfo info) {
|
|
getLogger().info("This line is printed by EAA MOD!");
|
|
}
|
|
} |