Guest User

@mod code

a guest
Apr 22nd, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. @Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS)
  2. public class ButchersMod {
  3.  
  4. @Instance
  5. public static ButchersMod instance;
  6.  
  7. @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
  8. public static CommonProxy proxy;
  9.  
  10. @EventHandler
  11. public void preInit(FMLPreInitializationEvent event)
  12. {
  13.  
  14. ModItems.init();
  15. ModItems.register();
  16.  
  17. ModBlocks.init();
  18. ModBlocks.register();
  19.  
  20. }
  21.  
  22. @EventHandler
  23. public void Init(FMLInitializationEvent event)
  24. {
  25. proxy.init();
  26. }
  27.  
  28. @EventHandler
  29. public void PostInit(FMLPostInitializationEvent event)
  30. {
  31. }}
Advertisement
Add Comment
Please, Sign In to add comment