mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 17:02:13 +02:00
Change mixin package to net.wurstclient.mixin
This commit is contained in:
parent
31b2cd5759
commit
e33efb3e49
@ -1,18 +0,0 @@
|
||||
package net.fabricmc.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.MinecraftClient;
|
||||
|
||||
@Mixin(MinecraftClient.class)
|
||||
public class ExampleMixin
|
||||
{
|
||||
@Inject(at = @At("HEAD"), method = "init()V")
|
||||
private void init(CallbackInfo info)
|
||||
{
|
||||
System.out.println("This line is printed by an example mod mixin!");
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package net.fabricmc.example.mixin;
|
||||
package net.wurstclient.mixin;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
@ -1,11 +1,10 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "net.fabricmc.example.mixin",
|
||||
"package": "net.wurstclient.mixin",
|
||||
"compatibilityLevel": "JAVA_8",
|
||||
"mixins": [
|
||||
],
|
||||
"client": [
|
||||
"ExampleMixin",
|
||||
"ClientPlayerEntityMixin"
|
||||
],
|
||||
"injectors": {
|
||||
|
Loading…
Reference in New Issue
Block a user