17 lines
553 B
Java
17 lines
553 B
Java
package com.examplemod.mixin;
|
|
|
|
import com.examplemod.ExampleMod;
|
|
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;
|
|
|
|
@Mixin(TitleScreen.class)
|
|
public class TitleScreenMixin {
|
|
@Inject( method = "init", at = @At("TAIL") )
|
|
public void onInit(CallbackInfo ci) {
|
|
ExampleMod.LOGGER.info("This line is printed by an example mod mixin!");
|
|
}
|
|
}
|