2FastAssassin Posted March 31, 2015 Share Posted March 31, 2015 Im trying to make a custom crafting recipe for blaze rods. please help Quote 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] Link to comment Share on other sites More sharing options...
ilan321 Posted March 31, 2015 Share Posted March 31, 2015 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. Quote Link to comment Share on other sites More sharing options...
2FastAssassin Posted March 31, 2015 Author Share Posted March 31, 2015 thanks Ill try it out Quote 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] Link to comment Share on other sites More sharing options...
Recommended Posts
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.