mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Hopefully get a load plugin working
This commit is contained in:
1 parent
33af84b110
commit
f2b4849844
2 files changed
+51
No files matched your search
@@ -52,6 +52,12 @@ processResources
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'FMLCorePlugin': 'mekanism.common.asm.LoadingHook'
|
||||
}
|
||||
}
|
||||
|
||||
task moveSrc(type: Sync) {
|
||||
from 'common'
|
||||
into 'src/main/java'
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package mekanism.common.asm;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import codechicken.core.launch.DepLoader;
|
||||
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
||||
|
||||
public class LoadingHook implements IFMLLoadingPlugin
|
||||
{
|
||||
public LoadingHook()
|
||||
{
|
||||
System.out.println("Loading DepLoader");
|
||||
DepLoader.load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getLibraryRequestClass()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getASMTransformerClass()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getModContainerClass()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSetupClass()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void injectData(Map<String, Object> data)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user