SHARE
TWEET

Untitled

a guest Jul 19th, 2017 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.rbs.slurpiesdongles;
  2.  
  3. import com.rbs.slurpiesdongles.init.SDBlocks;
  4. import com.rbs.slurpiesdongles.init.SDItems;
  5. import com.rbs.slurpiesdongles.proxy.CommonProxy;
  6. import com.sun.org.glassfish.gmbal.IncludeSubclass;
  7. import net.minecraft.block.Block;
  8. import net.minecraft.item.Item;
  9. import net.minecraftforge.client.event.ModelRegistryEvent;
  10. import net.minecraftforge.event.RegistryEvent;
  11. import net.minecraftforge.fml.common.Mod;
  12. import net.minecraftforge.fml.common.SidedProxy;
  13. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  14. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  15. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  16. import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
  17.  
  18. /**
  19.  * Created by Consular on 7/19/2017.
  20.  */
  21. @Mod(modid = SlurpiesDongles.modId, name = SlurpiesDongles.name, version = SlurpiesDongles.version)
  22. public class SlurpiesDongles {
  23.  
  24.     @Mod.EventBusSubscriber
  25.     public static class RegistrationHandler {
  26.  
  27.         @SubscribeEvent
  28.         public static void registerItems(RegistryEvent.Register<Item> event) {
  29.             SDBlocks.registerItemBlocks(event.getRegistry());
  30.             SDItems.register(event.getRegistry());
  31.         }
  32.  
  33.         @SubscribeEvent
  34.         public static void registerItems(ModelRegistryEvent event) {
  35.             SDBlocks.registerModels();
  36.             SDItems.registerModels();
  37.         }
  38.         @SubscribeEvent
  39.         public static void registerBlocks(RegistryEvent.Register<Block> event) {
  40.             SDBlocks.register(event.getRegistry());
  41.         }
  42.     }
  43.  
  44.         public static final String modId = "slurpiesdongles";
  45.         public static final String name = "Slurpies Dongles";
  46.         public static final String version = "1.0.0";
  47.  
  48.         @SidedProxy(serverSide = "com.rbs.slurpiesdongles.proxy.CommonProxy", clientSide = "com.rbs.slurpiesdongles.proxy.ClientProxy")
  49.         public static CommonProxy proxy;
  50.  
  51.         @Mod.Instance(modId)
  52.     public static SlurpiesDongles instance;
  53.  
  54.         @Mod.EventHandler
  55.     public void preInit(FMLPreInitializationEvent event) {
  56.  
  57.         }
  58.  
  59.         @Mod.EventHandler
  60.     public void init(FMLInitializationEvent event) {
  61.  
  62.         }
  63.  
  64.         @Mod.EventHandler
  65.     public void postInit(FMLPostInitializationEvent event) {
  66.  
  67.         }
  68.  
  69. }
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
 
Top