WitherDoggie

CommonProxy.class

May 20th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.60 KB | None | 0 0
  1. package com.wither.withermod;
  2.  
  3. import com.wither.withermod.blocks.BlockRegistry;
  4. import com.wither.withermod.blocks.ModBlock;
  5. import com.wither.withermod.blocks.ModPane;
  6. import com.wither.withermod.blocks.WoodWall;
  7. import com.wither.withermod.blocks.ModBlock.HarvestLevelEnum;
  8. import com.wither.withermod.blocks.ModBlock.HarvestToolEnum;
  9. import com.wither.withermod.items.ItemRegistry;
  10. import com.wither.withermod.items.ModItem;
  11. import com.wither.withermod.items.RegisterRender;
  12. import com.wither.withermod.utils.CraftingRegistry;
  13. import com.wither.withermod.utils.SmeltingRegistry;
  14.  
  15. import net.minecraft.block.Block;
  16. import net.minecraft.block.material.Material;
  17. import net.minecraft.creativetab.CreativeTabs;
  18. import net.minecraft.init.Blocks;
  19. import net.minecraft.init.Items;
  20. import net.minecraft.item.ItemFood;
  21. import net.minecraft.item.ItemStack;
  22. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  23. import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
  24. import net.minecraftforge.fml.common.registry.GameRegistry;
  25. import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
  26.  
  27.  
  28. public class CommonProxy {
  29.  
  30.     public void PreInit(FMLPreInitializationEvent e){
  31.        
  32.     }
  33.  
  34.     public void Init(FMLInitializationEvent e){
  35.        
  36.         Block Block = (new WoodWall()).setHardness(2.0F).setResistance(5.0F).setUnlocalizedName("woodwall");
  37.        
  38.         BlockRegistry.registerBlocks();
  39.         ItemRegistry.registerItems();
  40.    
  41.         BlockRegistry.setDrops();
  42.        
  43.         CraftingRegistry.addRecipie();
  44.         SmeltingRegistry.addSmelting();
  45.     }
  46.  
  47.     public void PostInit(FMLPostInitializationEvent e){
  48.        
  49.     }
  50. }
Add Comment
Please, Sign In to add comment