diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-01 17:48:53 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-01 17:48:53 +0200 |
commit | 0fe5e487922a6ff50b9c415b9384157fbd64b2b5 (patch) | |
tree | e62cb4b9abea80d144d95a7bd2e0114088944587 /src/client/java | |
download | potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.tar.gz potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.tar.bz2 potato-crimes-0fe5e487922a6ff50b9c415b9384157fbd64b2b5.zip |
Initial commit
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 |