Guest User

Untitled

a guest
Jun 26th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. public class CommonProxy {
  2.  
  3. public void preInit(FMLPreInitializationEvent event) {
  4. FMLCommonHandler.instance().bus().register(Config.instance);
  5. Config.init(event.getSuggestedConfigurationFile());
  6. Config.syncConfig();
  7. ModElements.createBlocksAndItems();
  8. ModElements.registerItemsAndBlocks();
  9. ModElements.removeCrafting();
  10. ModElements.crafting();
  11. ModElements.registerAchievements();
  12. ModElements.registerStats();
  13. ModElements.registerGuiHandlers();
  14. ModElements.registerEventHandlers();
  15. }
  16.  
  17. public void init(FMLInitializationEvent event) {
  18. ModElements.registerRenders();
  19. GameRegistry.registerWorldGenerator(new ModOreGenerator(), 0);
  20. GameRegistry.registerWorldGenerator(new ModFlowerGenerator(), 0);
  21. ClientCommandHandler.instance.registerCommand(new CommandMCrafterzzMod());
  22. ClientCommandHandler.instance.registerCommand(new CommandMM());
  23. ClientCommandHandler.instance.registerCommand(new CommandSetBlocks());
  24. }
  25.  
  26. public void postInit(FMLPostInitializationEvent event) {
  27. }
  28.  
  29. }
Add Comment
Please, Sign In to add comment