You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
514 B
Java
15 lines
514 B
Java
package net.brokenmoon.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
|
|
}
|
|
} |