0
0
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:
Alexander 2019-07-08 16:24:25 +02:00
parent 31b2cd5759
commit e33efb3e49
3 changed files with 2 additions and 21 deletions

View File

@ -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!");
}
}

View File

@ -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;

View File

@ -1,11 +1,10 @@
{
"required": true,
"package": "net.fabricmc.example.mixin",
"package": "net.wurstclient.mixin",
"compatibilityLevel": "JAVA_8",
"mixins": [
],
"client": [
"ExampleMixin",
"ClientPlayerEntityMixin"
],
"injectors": {