SHARE
TWEET

Fallout.java

Camellias_ Jul 7th, 2017 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package camellias_.fallout;
  2.  
  3. import camellias_.fallout.proxy.CommonProxy;
  4. import init.ModItems;
  5. import net.minecraftforge.fml.common.Mod;
  6. import net.minecraftforge.fml.common.Mod.EventHandler;
  7. import net.minecraftforge.fml.common.Mod.Instance;
  8. import net.minecraftforge.fml.common.SidedProxy;
  9. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  10. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  11. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  12.  
  13. @Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS)
  14. public class Fallout {
  15.    
  16.     @Instance
  17.     public static Fallout instance;
  18.    
  19.     @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
  20.     public static CommonProxy proxy;
  21.    
  22.     @EventHandler
  23.     public void preInit(FMLPreInitializationEvent event)
  24.     {
  25.         ModItems.init();
  26.         ModItems.register();
  27.     }
  28.    
  29.     @EventHandler
  30.     public void Init(FMLInitializationEvent event)
  31.     {
  32.         proxy.init();  
  33.     }
  34.    
  35.     @EventHandler
  36.     public void PostInit(FMLPostInitializationEvent event)
  37.     {
  38.        
  39.     }
  40.  
  41. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top