fix: put mixins in separate package from common and client
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
42e6ea24ed
commit
c5d7692742
7 changed files with 8 additions and 20 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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"
|
||||
]
|
||||
}
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue