SHARE
TWEET

Untitled

a guest May 10th, 2016 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package flame.fmm.com;
  2.  
  3. import org.apache.logging.log4j.Logger;
  4.  
  5. import flame.fmm.proxy.CommonProxy;
  6. import net.minecraftforge.fml.common.Mod;
  7. import net.minecraftforge.fml.common.Mod.EventHandler;
  8. import net.minecraftforge.fml.common.Mod.Instance;
  9. import net.minecraftforge.fml.common.SidedProxy;
  10. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  11. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  12. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  13.  
  14.  
  15.  
  16.  
  17. @Mod(modid = Reference.MODID, name = Reference.NAME, version = Reference.VERSION)
  18. public class FMM
  19.  
  20. {
  21.  
  22.     @SidedProxy(clientSide = Reference.CLIENTPROXY, serverSide = Reference.COMMONPROXY)
  23.  
  24.     public static CommonProxy proxy;
  25.  
  26.  
  27.     @Instance
  28.     public static FMM instance;
  29.    
  30.     public static Logger logger;
  31.  
  32.  
  33.    
  34.     @EventHandler
  35.     public void preInit(FMLPreInitializationEvent event)
  36. {
  37.         logger = event.getModLog();
  38.         proxy.preInit(event);
  39.  
  40. }
  41.     @EventHandler
  42. public void init(FMLInitializationEvent event)
  43. {
  44.        
  45.         proxy.init(event);
  46. }
  47.     @EventHandler
  48. public void postInit(FMLPostInitializationEvent event)
  49. {
  50.         proxy.postInit(event);
  51. }
  52.  
  53. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top