April 22, 201312 yr Author You need to create your Items before you use them. You add a crafting recipe for your chestplate before you create the chestplate. What do you mean by this? Can you show me how? BTW, all the items and armor are working just like they should be in game. Thanks for the reply! Check out my mod: http://www.minecraftforum.net/topic/1809937-152forge-minecraft-enriched-mod/
April 22, 201312 yr GameRegistry.addRecipe(new ItemStack(baconiteChestplate), new Object[] { "T T", "TTT", "TTT", 'T', Crystalia.baconiteIngot, }); //tools baconiteBow = new BaconiteBow(5010).setUnlocalizedName("Crystalia:baconiteBow"); LanguageRegistry.addName(baconiteBow, "Baconite Bow"); here you are registering recipes before creating the item, which is a no. this registers a null instead of the item, since the item is set to null until you have placed an instance in it I think its my java of the variables.
April 22, 201312 yr GameRegistry.addRecipe(new ItemStack(baconiteChestplate), new Object[] { "T T", "TTT", "TTT", 'T', Crystalia.baconiteIngot, }); //tools baconiteBow = new BaconiteBow(5010).setUnlocalizedName("Crystalia:baconiteBow"); LanguageRegistry.addName(baconiteBow, "Baconite Bow"); here you are registering recipes before creating the item, which is a no. this registers a null instead of the item, since the item is set to null until you have placed an instance in it I think its my java of the variables.
April 22, 201312 yr Author GameRegistry.addRecipe(new ItemStack(baconiteChestplate), new Object[] { "T T", "TTT", "TTT", 'T', Crystalia.baconiteIngot, }); //tools baconiteBow = new BaconiteBow(5010).setUnlocalizedName("Crystalia:baconiteBow"); LanguageRegistry.addName(baconiteBow, "Baconite Bow"); here you are registering recipes before creating the item, which is a no. this registers a null instead of the item, since the item is set to null until you have placed an instance in it It worked!!!! Thank you sooooo much, you don't even know how happy I am. If I could hit that 'Thank You' button 1000000 times I so would. I love this forum! Check out my mod: http://www.minecraftforum.net/topic/1809937-152forge-minecraft-enriched-mod/
April 22, 201312 yr Author GameRegistry.addRecipe(new ItemStack(baconiteChestplate), new Object[] { "T T", "TTT", "TTT", 'T', Crystalia.baconiteIngot, }); //tools baconiteBow = new BaconiteBow(5010).setUnlocalizedName("Crystalia:baconiteBow"); LanguageRegistry.addName(baconiteBow, "Baconite Bow"); here you are registering recipes before creating the item, which is a no. this registers a null instead of the item, since the item is set to null until you have placed an instance in it It worked!!!! Thank you sooooo much, you don't even know how happy I am. If I could hit that 'Thank You' button 1000000 times I so would. I love this forum! Check out my mod: http://www.minecraftforum.net/topic/1809937-152forge-minecraft-enriched-mod/
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.