Add an example of a mod ID prefix for mixins
This commit is contained in:
parent
9c8940d2ae
commit
562445fc97
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ 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) {
|
||||
public void exampleMod$onInit(CallbackInfo ci) {
|
||||
ExampleMod.LOGGER.info("This line is printed by an example mod mixin!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue