Guest User

MC OreGen Code

a guest
Mar 21st, 2016
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.reecays.autoboots;
  2.  
  3. import com.reecays.autoboots.init.AutoBootsBlock;
  4. import com.reecays.autoboots.init.BootsItems;
  5. import com.reecays.autoboots.proxy.CommonProxy;
  6.  
  7. import net.minecraft.item.ItemStack;
  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.oredict.OreDictionary;
  15.  
  16. @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION)
  17. public class AutoBoots {
  18.  
  19. @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
  20. public static CommonProxy proxy;
  21.  
  22. public static final AutoBootsTab tabAutoBoots = new AutoBootsTab("tabAutoBoots");
  23.  
  24. @EventHandler
  25. public void preInit(FMLPreInitializationEvent event)
  26. {
  27. AutoBootsBlock.init();
  28. AutoBootsBlock.register();
  29. BootsItems.init();
  30. BootsItems.register();
  31.  
  32. }
  33.  
  34.  
  35. @EventHandler
  36. public void init(FMLInitializationEvent event)
  37. {
  38. proxy.registerRenders();
  39. }
  40. @EventHandler
  41. public void postInit(FMLPostInitializationEvent event)
  42. {
  43.  
  44. }
  45. }
RAW Paste Data