Posted March 31, 201510 yr Im trying to make a custom crafting recipe for blaze rods. please help The Creator of the We Are The Warriors Mod https://scontent-sjc.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10985858_1068047526542843_8233581795453767454_n.png?oh=aad9679e5ae8470bbd9a58236c0e391b&oe=55AAFDC7[/img]
March 31, 201510 yr Here's a line of code that adds a shapeless recipe for blaze rods using ender pearls: GameRegistry.addShapelessRecipe(new ItemStack(Items.blaze_rod), new ItemStack(Items.ender_pearl)); Here's a line of code that adds a shaped recipe for 4 blaze rods using ender pearls and string: GameRegistry.addShapedRecipe(new ItemStack(Items.blaze_rod, 4), "XOX", "OXO", "XOX", 'X', new ItemStack(Items.ender_pearl), 'O', new ItemStack(Items.string)); Basically you use an ItemStack with your custom item.
March 31, 201510 yr Author thanks Ill try it out The Creator of the We Are The Warriors Mod https://scontent-sjc.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10985858_1068047526542843_8233581795453767454_n.png?oh=aad9679e5ae8470bbd9a58236c0e391b&oe=55AAFDC7[/img]
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.