blob: 1d8a9afb08f6de9b6c0727d680ff05d4c8cc7867 [file] [log] [blame] [raw]
package li.cil.oc.integration.gregtech
import cpw.mods.fml.common.event.FMLInterModComms
import li.cil.oc.api.Driver
import li.cil.oc.integration.ModProxy
import li.cil.oc.integration.Mods
import net.minecraftforge.common.MinecraftForge
object ModGregtech extends ModProxy {
override def getMod = Mods.GregTech
override def initialize() {
FMLInterModComms.sendMessage(Mods.IDs.OpenComputers, "registerToolDurabilityProvider", "li.cil.oc.integration.gregtech.EventHandlerGregTech.getDurability")
MinecraftForge.EVENT_BUS.register(EventHandlerGregTech)
Driver.add(new DriverEnergyContainer)
RecipeHandler.init()
}
}