diff options
Diffstat (limited to 'src/client/java')
-rw-r--r-- | src/client/java/moe/nea/potatocrime/mixin/client/ExampleClientMixin.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/java/moe/nea/potatocrime/mixin/client/ExampleClientMixin.java b/src/client/java/moe/nea/potatocrime/mixin/client/ExampleClientMixin.java new file mode 100644 index 0000000..90301c2 --- /dev/null +++ b/src/client/java/moe/nea/potatocrime/mixin/client/ExampleClientMixin.java @@ -0,0 +1,15 @@ +package moe.nea.potatocrime.mixin.client; + +import net.minecraft.client.MinecraftClient; +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(MinecraftClient.class) +public class ExampleClientMixin { + @Inject(at = @At("HEAD"), method = "run") + private void run(CallbackInfo info) { + // This code is injected into the start of MinecraftClient.run()V + } +}
\ No newline at end of file |