mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-17 19:15:18 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e92709336 | ||
|
|
a6fa97a907 | ||
|
|
dc65d4c4f0 |
@@ -0,0 +1,44 @@
|
|||||||
|
package codechicken.core.launch;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import cpw.mods.fml.relauncher.IFMLCallHook;
|
||||||
|
import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
||||||
|
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This was used to download dependencies during runtime and inject them into the classloader. It is now hollowed out
|
||||||
|
* but kept in the mod so that if another mod copied-pasted this class into their mod, there is a chance this empty
|
||||||
|
* class will be loaded instead and it will do nothing.
|
||||||
|
*/
|
||||||
|
@MCVersion("1.7.10")
|
||||||
|
public class DepLoader implements IFMLLoadingPlugin, IFMLCallHook {
|
||||||
|
|
||||||
|
@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) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getAccessTransformerClass() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Void call() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user