daily pastebin goal
10%
SHARE
TWEET

BleachCraft.java

circuitdh Jun 30th, 2016 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.bleachcraft;
  2.  
  3. import net.bleachcraft.CreativeTabs.SampleTab;
  4. import net.bleachcraft.Proxy.CommonProxy;
  5. import net.bleachcraft.init.Fluids;
  6. import net.bleachcraft.init.ModItems;
  7. import net.bleachcraft.init.Recipes;
  8. import net.minecraft.creativetab.CreativeTabs;
  9. import net.minecraftforge.fluids.FluidRegistry;
  10. import net.minecraftforge.fml.common.Mod;
  11. import net.minecraftforge.fml.common.Mod.EventHandler;
  12. import net.minecraftforge.fml.common.SidedProxy;
  13. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  14. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  15.  
  16. @Mod(modid = BleachCraft.MODID, version = BleachCraft.VERSION)
  17. public class BleachCraft
  18. {
  19.     public static final String MODID = "BleachCraft";
  20.     public static final String VERSION = "1.0";
  21.    
  22.     //Creative Tabs
  23.     public static CreativeTabs sampleTab = new SampleTab(CreativeTabs.getNextID(), "sampleTab");
  24.    
  25.     static {
  26.         FluidRegistry.enableUniversalBucket();
  27.     }
  28.        
  29.  
  30.     @SidedProxy(serverSide = "net.bleachcraft.Proxy.CommonProxy", clientSide = "net.bleachcraft.Proxy.ClientProxy")
  31.     public static CommonProxy proxy;
  32.    
  33.  
  34.     @EventHandler
  35.     public void preInit(FMLPreInitializationEvent event) {
  36.        
  37.         proxy.preInit(event);
  38.         Fluids.registerFluids();
  39.         ModItems.registerItems();
  40.     }
  41.    
  42.     @EventHandler
  43.     public void init(FMLInitializationEvent event) {
  44.         Recipes.registerRecipes(); 
  45.     }
  46.  
  47. }
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