Advertisement
PaleoCrafter

Untitled

Jun 30th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.36 KB | None | 0 0
  1. trait Init {
  2.   def preInit(event: FMLPreInitializationEvent): Unit
  3. }
  4.  
  5. trait Blocks extends Init {
  6.   abstract override def preInit(event: FMLPreInitializationEvent): Unit = {
  7.     super.preInit(event)
  8.     println("Blocks")
  9.   }
  10. }
  11.  
  12. object MeMod extends Init with Blocks {
  13.   override def preInit(event: FMLPreInitializationEvent): Unit = println("PreInit")
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement