2024-12-08 00:57:35|Myriagame |source:minecraft skins
First of all, the ELIB module is added to the Run/MODS directory of the project to facilitate debugging.
Then add a function to determine whether the module is loaded and call ELIB.
example:
Public Static String Runelibfunction (String FunctionName, String ... ARGS) Throws Exception {If (modlist.get (). Isloaded ("elib")) {{
Class <?> Clazz = class.Forname ("cn.ksmcBrigade.elib.libs");
Class <?> [] Parameterpes = New Class [ARGS.Length];
For (int i = 0; I
Parametertypes [i] = string.class;
}
Method method = Clazz.getDeClaredMethod (functionName, ParameterTypes);
Method.setaccessible (true);
Object instance = Clazz.getDeclaredConstructor (). Newinstance ();
Return
}
Else {
Return "";}
}
The above code needs to be introduced in the following two categories:
net.mineCraftForge.fml.modList
java.lang.reflect.method
Finally, just call the written function.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22