Jump to content

[RESOLVED]1.6.1 My crafting recipes only work for my sword


xcoopergangx

Recommended Posts

I have been trying to figure out why my  mods crafting recipes for my tools wont work except for my sword.

 

CODE:

//crafting

 

GameRegistry.addRecipe(new ItemStack(TitaniumMod.TitaniumBlock,1), new Object[]{

"TTT","TTT","TTT",'T',Titanium,  });

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumSword, 1), "X","X","A", Character.valueOf('X'), Titanium,

Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumAxe, 1), "XX", "XA", "A",

        ('X'), Titanium, ('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumHoe, 1), "XX","A","A", Character.valueOf('X'), Titanium,

Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumPickaxe, 1), "XXX","A","A", Character.valueOf('X'), TitaniumMod.Titanium,

Character.valueOf('A'), Item.stick);

 

 

 

 

Link to comment
Share on other sites

I have been trying to figure out why my  mods crafting recipes for my tools wont work except for my sword.

 

CODE:

//crafting

 

GameRegistry.addRecipe(new ItemStack(TitaniumMod.TitaniumBlock,1), new Object[]{

"TTT","TTT","TTT",'T',Titanium,  });

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumSword, 1), "X","X","A", Character.valueOf('X'), Titanium,

Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumAxe, 1), "XX", "XA", "A",

        ('X'), Titanium, ('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumHoe, 1), "XX","A","A", Character.valueOf('X'), Titanium,

Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumPickaxe, 1), "XXX","A","A", Character.valueOf('X'), TitaniumMod.Titanium,

Character.valueOf('A'), Item.stick);

 

Spot the difference between your Sword and Axe. It might help you if they were all one line, but there are quite a few characters missing.

 

Just a stab in the dark but fix the problem with your Axe and the others might work. It might be the problem with your axe that's stopping them from being read properly.

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Link to comment
Share on other sites

I tried doing that just now but the problem is still there. Everything above the sword is working but everything below it isn't.

Edit: every other item/block crafting recipes work its only the tools that have problems. I also tried deleting the sword crafting recipe but I could only craft a hoe by using the sword recipe no other item crafts.

 

//crafting

 

GameRegistry.addRecipe(new ItemStack(TitaniumMod.TitaniumBlock,1), new Object[]{"TTT","TTT","TTT",'T',Titanium,  });

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumSword, 1), "X","X","A", Character.valueOf('X'), Titanium,Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumAxe, 1), "XX","XA","A", Character.valueOf('X'), Titanium,Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumHoe, 1), "XX","A","A", Character.valueOf('X'), Titanium,Character.valueOf('A'), Item.stick);

 

GameRegistry.addShapedRecipe(new ItemStack(TitaniumMod.TitaniumPickaxe, 1), "XXX","A","A", Character.valueOf('X'), TitaniumMod.Titanium,Character.valueOf('A'), Item.stick);

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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