package oe.helper;

import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

public class Register {
  
  public static void Item(Item Item, String Name) {
    LanguageRegistry.addName(Item, Name);
    GameRegistry.registerItem(Item, Item.getUnlocalizedName());
  }
  
  public static void Block(Block Block, String Name, String Tool, int HarvestLevel) {
    LanguageRegistry.addName(Block, Name);
    GameRegistry.registerBlock(Block, "OpenExchange");
    MinecraftForge.setBlockHarvestLevel(Block, Tool, HarvestLevel);
  }
  
  public static void Ore(String OreName, Block block) {
    OreDictionary.registerOre(OreName, block);
  }
  
  public static void Ore(String OreName, Item item) {
    OreDictionary.registerOre(OreName, item);
  }
}

@@ -645,22 +645,34 @@
 ck, 
-%22OpenExchange%22
+Block.getUnlocalizedName()
 );%0A 
@@ -737,32 +737,204 @@
 tLevel);%0A  %7D%0A  %0A
+  public static void Block(Block Block, String Name) %7B%0A    LanguageRegistry.addName(Block, Name);%0A    GameRegistry.registerBlock(Block, Block.getUnlocalizedName());%0A  %7D%0A  %0A
   public static 

Add Register for Blocks that do not have a harvest level