WitherDoggie

Main

May 22nd, 2016
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.wither.withermod;
  2.  
  3. import com.wither.withermod.blocks.ModBlock;
  4. import com.wither.withermod.blocks.ModPane;
  5. import com.wither.withermod.creativetabs.CreativeTabItems;
  6. import com.wither.withermod.items.ModItem;
  7.  
  8. import net.minecraft.item.ItemFood;
  9. import net.minecraftforge.fml.common.Mod;
  10. import net.minecraftforge.fml.common.Mod.EventHandler;
  11. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  12. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  13. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  14. import net.minecraftforge.fml.common.SidedProxy;
  15. import net.minecraftforge.fml.common.Mod.Instance;
  16.  
  17. @Mod(modid = Main.MODID, version = Main.VERSION, name = Main.NAME, dependencies = "required-after:FML")
  18. public class Main {
  19.    
  20.     //strings
  21.     public static final String MODID = "withermod";
  22.     public static final String VERSION = "Build 1";
  23.     public static final String NAME = "Wither's Mod";
  24.    
  25.     @Instance(value = MODID)
  26.     public static Main Instance;
  27.    
  28.     @SidedProxy(modId=MODID, clientSide = "com.wither.withermod.ClientProxy", serverSide = "com.wither.withermod.ClientProxy")
  29.     public static CommonProxy proxy;
  30.  
  31.     @EventHandler
  32.     public void PreInit(FMLPreInitializationEvent e){
  33.         proxy.PreInit(e);
  34.        
  35.     }
  36.    
  37.     @EventHandler
  38.     public void Init(FMLInitializationEvent e){
  39.         proxy.Init(e);
  40.     }
  41.     @EventHandler
  42.     public void PostInit(FMLPostInitializationEvent e){
  43.         proxy.PostInit(e);
  44.     }
  45. }
RAW Paste Data Copied