package k2b6s9j.BoatCraft.compatibility.vanilla

import cpw.mods.fml.common.Mod
import cpw.mods.fml.common.event.FMLPreInitializationEvent
import cpw.mods.fml.common.Mod.EventHandler
import k2b6s9j.BoatCraft.core.registry.MaterialRegistry
import k2b6s9j.BoatCraft.compatibility.vanilla.boat.wood._

@Mod(name = "BoatCraft:Compatibility:Vanilla:Materials:Wood", modid = "BoatCraft:Compatibility:Vanilla:Materials:Wood", modLanguage = "scala", dependencies = "required-after:BoatCraft")
object Mod {

  @EventHandler
  def preInit(event: FMLPreInitializationEvent) {
    MaterialRegistry.addMaterial(asInstanceOf[Oak])
    MaterialRegistry.addMaterial(asInstanceOf[Spruce])
    MaterialRegistry.addMaterial(asInstanceOf[Birch])
    MaterialRegistry.addMaterial(asInstanceOf[Jungle])
    MaterialRegistry.addMaterial(asInstanceOf[Acacia])
    MaterialRegistry.addMaterial(asInstanceOf[DarkOak])
  }

}

package k2b6s9j.BoatCraft.compatibility.vanilla

import cpw.mods.fml.common.Mod
import cpw.mods.fml.common.event.FMLPreInitializationEvent
import cpw.mods.fml.common.Mod.EventHandler
import k2b6s9j.BoatCraft.core.registry.MaterialRegistry
import k2b6s9j.BoatCraft.compatibility.vanilla.boat.wood._

@Mod(name = "BoatCraft:Compatibility:Vanilla:Materials:Wood", modid = "BoatCraft:Compatibility:Vanilla:Materials:Wood", modLanguage = "scala", dependencies = "required-before:BoatCraft")
object Mod {

  @EventHandler
  def preInit(event: FMLPreInitializationEvent) {
    MaterialRegistry.addMaterial(asInstanceOf[Oak])
    MaterialRegistry.addMaterial(asInstanceOf[Spruce])
    MaterialRegistry.addMaterial(asInstanceOf[Birch])
    MaterialRegistry.addMaterial(asInstanceOf[Jungle])
    MaterialRegistry.addMaterial(asInstanceOf[Acacia])
    MaterialRegistry.addMaterial(asInstanceOf[DarkOak])
  }

}

Load Before BoatCraft. This will enforce the matrix loads everything correctly.
Load Before BoatCraft. This will enforce the matrix loads everything correctly.
