Jump to content

why won't the recipe register fully


Dragonold103

Recommended Posts

I get this problem a lot and I can't fix it

 

package net.sidemod.Mod;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemCoal;
import net.minecraft.item.ItemStack;
import net.minecraft.src.BaseMod;

public class Basemod_mod extends BaseMod
{
public static final String version = "Side mod V.25";

public static Item Stick_Left_Half = new ModItem(900, "Stick_Left_Half").setUnlocalizedName("Stick Left Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Stick_Right_Half = new ModItem(901, "Stick_Right_Half").setUnlocalizedName("Stick Right Half").setCreativeTab(CreativeTabs.tabMaterials);

public static Item Iron_Hammer_Left_Gunpowder_Half = new ModItem(902, "Iron_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Iron Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Iron_Hammer_Right_Lighter_Half = new ModItem(903, "Iron_Hammer_Right_Lighter_Half").setUnlocalizedName("Iron Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Gold_Hammer_Left_Gunpowder_Half = new ModItem(904, "Gold_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Gold Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Gold_Hammer_Right_Lighter_Half = new ModItem(905, "Gold_Hammer_Right_Lighter_Half").setUnlocalizedName("Gold Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Diamond_Hammer_Left_Gunpowder_Half = new ModItem(906, "Diamond_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Diamond Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Diamond_Hammer_Right_Lighter_Half = new ModItem(907, "Diamond_Hammer_Right_Lighter_Half").setUnlocalizedName("Diamond Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);

public static Item Iron_Hammer = new ModHammer(908, "Iron_Hammer", EnumToolMaterial.Strong_IRON, 0).setUnlocalizedName("Iron Hammer").setCreativeTab(CreativeTabs.tabTools);
public static Item Gold_Hammer = new ModHammer(909, "Gold_Hammer", EnumToolMaterial.Strong_GOLD, 0).setUnlocalizedName("Gold Hammer").setCreativeTab(CreativeTabs.tabTools);
public static Item Diamond_Hammer = new ModHammer(910, "Diamond_Hammer", EnumToolMaterial.Strong_EMERALD, 0).setUnlocalizedName("Diamond Hammer").setCreativeTab(CreativeTabs.tabTools);

public static Item Strong_Iron = new ModItem(911, "Strong_Iron").setUnlocalizedName("Strong Ingot Iron");
public static Item Strong_Gold = new ModItem(912, "Strong_Gold").setUnlocalizedName("Strong Ingot Gold");
public static Item Strong_Diamond = new ModItem(913, "Strong_Diamond").setUnlocalizedName("Strong iamond");

public static Material materialOrc;

public void load()
	{	
	GameRegistry.addSmelting(Item.coal.itemID, new ItemStack(Item.gunpowder, 2), 8F);
	GameRegistry.addSmelting(Block.gravel.blockID, new ItemStack(Item.flint, 1), 8F);

	GameRegistry.addRecipe(new ItemStack(Stick_Left_Half, 2), new Object[]{"  x", " xc", "xcv", 'x', Item.stick, 'c', Block.planks, 'v', Block.wood});
	GameRegistry.addRecipe(new ItemStack(Stick_Right_Half, 2), new Object[]{ "x ", "cx", 'x', Item.stick, 'c', Block.planks,});
	GameRegistry.addRecipe(new ItemStack(Iron_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.ingotIron, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Iron_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.ingotIron, 'c', Item.flintAndSteel});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.ingotGold, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.ingotGold, 'c', Item.flintAndSteel});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.diamond, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.diamond, 'c', Item.flintAndSteel});

	GameRegistry.addRecipe(new ItemStack(Iron_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Iron_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Iron_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Gold_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Gold_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Diamond_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Diamond_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});

	GameRegistry.registerItem(Stick_Left_Half, "Stick_Left_Half");
	GameRegistry.registerItem(Stick_Right_Half, "Stick Right Half");
	GameRegistry.registerItem(Iron_Hammer_Left_Gunpowder_Half, "Iron_Hammer_Left Gunpowder_Half");
	GameRegistry.registerItem(Iron_Hammer_Right_Lighter_Half, "Iron Hammer Right Lighter Half");
	GameRegistry.registerItem(Gold_Hammer_Left_Gunpowder_Half, "Gold Hammer Left Gunpowder Half");
	GameRegistry.registerItem(Gold_Hammer_Right_Lighter_Half, "Gold Hammer Right Lighter Half");
	GameRegistry.registerItem(Diamond_Hammer_Left_Gunpowder_Half, "Diamond Hammer Left Gunpowder Half");
	GameRegistry.registerItem(Diamond_Hammer_Right_Lighter_Half, "Diamond Hammer Right Lighter Half");

	GameRegistry.registerItem(Iron_Hammer, "Iron Hammer");
	GameRegistry.registerItem(Gold_Hammer, "Gold Hammer");
	GameRegistry.registerItem(Diamond_Hammer, "Diamond Hammer");

	GameRegistry.registerItem(Strong_Iron, "Strong Iron");
	GameRegistry.registerItem(Strong_Gold, "Strong Gold");
	GameRegistry.registerItem(Strong_Diamond, "Strong Diamond");

	LanguageRegistry.addName(Stick_Left_Half, "Stick Left Half");
	LanguageRegistry.addName(Stick_Right_Half, "Stick Right Half");

	LanguageRegistry.addName(Iron_Hammer_Left_Gunpowder_Half, "Iron Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Iron_Hammer_Right_Lighter_Half, "Iron Hammer Right Lighter Half");
	LanguageRegistry.addName(Gold_Hammer_Left_Gunpowder_Half, "Gold Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Gold_Hammer_Right_Lighter_Half, "Gold Hammer Right Lighter Half");
	LanguageRegistry.addName(Diamond_Hammer_Left_Gunpowder_Half, "Diamond Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Diamond_Hammer_Right_Lighter_Half, "Diamond Hammer Right Lighter Half");

	LanguageRegistry.addName(Iron_Hammer, "Iron Hammer");
	LanguageRegistry.addName(Gold_Hammer, "Gold Hammer");
	LanguageRegistry.addName(Diamond_Hammer, "Diamond Hammer");

	LanguageRegistry.addName(Strong_Iron, "Strong Iron");
	LanguageRegistry.addName(Strong_Gold, "Strong Gold");
	LanguageRegistry.addName(Strong_Diamond, "Strong Diamond");
	}

public String getVersion()
	{
	return version;
	}


}

 

When I get to the recipe of making the hammers left gunpowder half I have to remove the bottom left iron, gold or diamond to make it and I can't make the hammer right lighter half recipe and don't know what to do, if needed the other coding will be up when needed

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.