Transition old IMC plugins to new compat loader.

These old ones need to be removed still and all TContent refs need updated in these when refactor occurs.
This commit is contained in:
Sunstrike committed 2013-11-29 20:33:49 +00:00
1 parent 3b3b439cfb
commit 35367bb1fd
5 files changed
+215 -31

No files matched your search

@@ -0,0 +1,41 @@
package tconstruct.plugins.appeng;
import cpw.mods.fml.common.event.FMLInterModComms;
import tconstruct.TConstruct;
import tconstruct.plugins.ICompatPlugin;
import java.util.Arrays;
import java.util.List;
public class AppEng implements ICompatPlugin {
private static List<String> spatialIOLogics = Arrays.asList("AdaptiveSmelteryLogic", "AqueductLogic", "CastingBasinLogic", "CastingChannelLogic", "CastingTableLogic",
"CraftingStationLogic", "DryingRackLogic", "EssenceExtractorLogic", "FaucetLogic", "FrypanLogic", "GolemPedestalLogic", "LavaTankLogic", "PartBuilderLogic",
"PatternChestLogic", "SmelteryDrainLogic", "SmelteryLogic", "StencilTableLogic", "TankAirLogic", "TileEntityLandmine", "ToolForgeLogic", "ToolStationLogic",
"TowerFurnaceLogic", "MultiServantLogic");
@Override
public String getModId() {
return "AppliedEnergistics";
}
@Override
public void preInit() {
}
@Override
public void init() {
TConstruct.logger.info("[AppEng] Registering for Spatial IO.");
for (String s : spatialIOLogics)
{
FMLInterModComms.sendMessage("AppliedEnergistics", "movabletile", "tconstruct.blocks.logic." + s);
}
}
@Override
public void postInit() {
}
}