File tree 3 files changed +12
-36
lines changed
main/java/dev/su5ed/sinytra/connector/service
java/dev/su5ed/sinytra/connector/mod
3 files changed +12
-36
lines changed Original file line number Diff line number Diff line change 8
8
import cpw .mods .modlauncher .api .ITransformer ;
9
9
import cpw .mods .modlauncher .serviceapi .ILaunchPluginService ;
10
10
import dev .su5ed .sinytra .connector .loader .ConnectorEarlyLoader ;
11
+ import net .minecraftforge .fml .loading .FMLLoader ;
11
12
import net .minecraftforge .fml .loading .LoadingModList ;
12
13
import net .minecraftforge .fml .unsafe .UnsafeHacks ;
13
14
@@ -26,7 +27,17 @@ public String name() {
26
27
}
27
28
28
29
@ Override
29
- public void initialize (IEnvironment environment ) {}
30
+ public void initialize (IEnvironment environment ) {
31
+ Runnable original = FMLLoader .progressWindowTick ;
32
+ FMLLoader .progressWindowTick = () -> {
33
+ ConnectorEarlyLoader .setup ();
34
+ FabricMixinBootstrap .init ();
35
+ FabricASMFixer .injectMinecraftModuleReader ();
36
+
37
+ FMLLoader .progressWindowTick = original ;
38
+ original .run ();
39
+ };
40
+ }
30
41
31
42
@ SuppressWarnings ("unchecked" )
32
43
@ Override
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"refmap" : " mixins.connectormod.refmap.json" ,
5
5
"package" : " dev.su5ed.sinytra.connector.mod.mixin" ,
6
6
"compatibilityLevel" : " JAVA_17" ,
7
- "plugin" : " dev.su5ed.sinytra.connector.mod.ConnectorBootstrap" ,
8
7
"mixins" : [
9
8
" AttributeSupplierAccessor" ,
10
9
" ForgeHooksMixin" ,
You can’t perform that action at this time.
0 commit comments