package
parent
236a1e1914
commit
ce02250433
@ -1,4 +1,4 @@
|
||||
package net.fabricmc.example;
|
||||
package tk.valoeghese.example;
|
||||
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
|
@ -1,13 +1,14 @@
|
||||
package net.fabricmc.example.mixin;
|
||||
package tk.valoeghese.example.mixin;
|
||||
|
||||
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 net.minecraft.client.gui.screen.TitleScreen;
|
||||
import net.minecraft.client.screen.MainMenuScreen;
|
||||
|
||||
@Mixin(MainMenuScreen.class)
|
||||
@Mixin(TitleScreen.class)
|
||||
public class ExampleMixin {
|
||||
@Inject(at = @At("HEAD"), method = "init()V")
|
||||
private void init(CallbackInfo info) {
|
Loading…
Reference in New Issue