fix: put mixins in separate package from common and client

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2024-07-18 19:58:18 +05:00
parent 42e6ea24ed
commit c5d7692742
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
7 changed files with 8 additions and 20 deletions

View file

@ -15,7 +15,7 @@ show_testing_output = false
# Mod Information
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
mod_version = 1.1.0
mod_version=1.1.1
root_package = ru.octol1ttle
mod_id = knockdowns
mod_name = Knockdowns (Legacy)

View file

@ -38,7 +38,6 @@ public class KnockdownsFMLLoadingPlugin implements IFMLLoadingPlugin, IEarlyMixi
public List<String> getMixinConfigs() {
ArrayList<String> list = new ArrayList<>();
list.add("mixins.knockdowns.json");
list.add("mixins.knockdowns.client.json");
return list;
}
}

View file

@ -1,4 +1,4 @@
package ru.octol1ttle.knockdowns.common.mixin;
package ru.octol1ttle.knockdowns.mixin;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;

View file

@ -1,4 +1,4 @@
package ru.octol1ttle.knockdowns.common.mixin;
package ru.octol1ttle.knockdowns.mixin;
import com.llamalad7.mixinextras.injector.ModifyReturnValue;
import net.minecraft.entity.player.EntityPlayer;

View file

@ -1,4 +1,4 @@
package ru.octol1ttle.knockdowns.client.mixin;
package ru.octol1ttle.knockdowns.mixin;
import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import net.minecraft.client.Minecraft;

View file

@ -1,13 +0,0 @@
{
"package": "ru.octol1ttle.knockdowns.client.mixin",
"required": true,
"refmap": "${mixin_refmap}",
"target": "@env(DEFAULT)",
"minVersion": "0.8.5",
"compatibilityLevel": "JAVA_8",
"mixins": [],
"server": [],
"client": [
"PlayerControllerMPMixin"
]
}

View file

@ -1,5 +1,5 @@
{
"package": "ru.octol1ttle.knockdowns.common.mixin",
"package": "ru.octol1ttle.knockdowns.mixin",
"required": true,
"refmap": "${mixin_refmap}",
"target": "@env(DEFAULT)",
@ -7,5 +7,7 @@
"compatibilityLevel": "JAVA_8",
"mixins": [ "EntityLivingBaseMixin", "EntityPlayerMixin" ],
"server": [],
"client": []
"client": [
"PlayerControllerMPMixin"
]
}