Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

Commit 38e4a7f

Browse files
committed
Apply selection of JEID's modsupport mixins on dedicated server
JEID's modsupport mixins are all specified as client side only - indeed JEID by default does not even apply it's loader mixin. This doesn't make sense as a lot of these mixins apply to server side only code and should be applied on both client (for SP) and server.
1 parent 86a569c commit 38e4a7f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/main/java/uk/bobbytables/jeidsi/init/mixins/MixinLoader.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ public class MixinLoader {
1919
remap = false
2020
)
2121
private void beforeModSupportMixins(List<String> injectedModContainers, CallbackInfo ci) {
22+
// JEID does not apply any of its modsupport mixins when running on a dedicated server.
23+
// This config enables a selection of them
24+
Mixins.addConfiguration("mixins.jeid.server.modsupport.json");
25+
26+
// Now add our own configs
2227
Mixins.addConfiguration("mixins.jeidsi.abyssalcraft.json");
2328
Mixins.addConfiguration("mixins.jeidsi.bookshelf.json");
2429
Mixins.addConfiguration("mixins.jeidsi.cyclopscore.json");
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"package": "org.dimdev.jeid.mixin.modsupport",
3+
"required": true,
4+
"refmap": "mixins.jeidsi.refmap.json",
5+
"target": "@env(DEFAULT)",
6+
"minVersion": "0.6",
7+
"compatibilityLevel": "JAVA_8",
8+
"server": [
9+
"MixinBaseBlock",
10+
"MixinBiomeHandler",
11+
"MixinBlockTFMagicLogSpecial",
12+
"MixinBOPCommand",
13+
"MixinDimensionManager",
14+
"MixinEntityPortal",
15+
"MixinModBiomes",
16+
"MixinUtils"
17+
]
18+
}

0 commit comments

Comments
 (0)