SHARE
TWEET

MineBoard.java

a guest May 11th, 2016 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.noxilus.mineboard.client;
  2.  
  3. import com.noxilus.mineboard.init.MineBoardBlocks;
  4. import com.noxilus.mineboard.init.MineBoardItems;
  5. import com.noxilus.mineboard.init.MineBoardTab;
  6. import com.noxilus.mineboard.proxy.CommonProxy;
  7.  
  8. import net.minecraftforge.fml.common.Mod;
  9. import net.minecraftforge.fml.common.Mod.EventHandler;
  10. import net.minecraftforge.fml.common.SidedProxy;
  11. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  12. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  13. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  14. import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
  15.  
  16. @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION)
  17. public class MineBoard
  18. {
  19.     @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
  20.     public static CommonProxy proxy;
  21.    
  22.     public static MineBoardTab tabMineBoard = new MineBoardTab(12, "tabMineBoard");
  23.    
  24.     @EventHandler
  25.     public void preInit(FMLPreInitializationEvent event)
  26.     {
  27.         MineBoardItems.init();
  28.         MineBoardItems.register();
  29.         MineBoardBlocks.init();
  30.         MineBoardBlocks.register();
  31.     }
  32.    
  33.     @EventHandler
  34.     public void init(FMLInitializationEvent event)
  35.     {
  36.         proxy.registerRenders();
  37.     }
  38.    
  39.     @EventHandler
  40.     public void postInit(FMLPostInitializationEvent event)
  41.     {
  42.        
  43.     }
  44.    
  45.     @EventHandler
  46.     public void serverLoad(FMLServerStartingEvent event)
  47.     {
  48.        
  49.     }
  50. }
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