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,37 @@
package tconstruct.plugins.thaumcraft;
import cpw.mods.fml.common.event.FMLInterModComms;
import net.minecraft.item.ItemStack;
import tconstruct.TConstruct;
import tconstruct.common.TContent;
import tconstruct.plugins.ICompatPlugin;
public class Thaumcraft implements ICompatPlugin {
@Override
public String getModId() {
return "Thaumcraft";
}
@Override
public void preInit() {
}
@Override
public void init() {
TConstruct.logger.info("[Thaumcraft] Registering harvestables.");
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerry, 1, 12));
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerry, 1, 13));
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerry, 1, 14));
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerry, 1, 15));
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerrySecond, 1, 12));
FMLInterModComms.sendMessage("Thaumcraft", "harvestClickableCrop", new ItemStack(TContent.oreBerrySecond, 1, 13));
}
@Override
public void postInit() {
}
}