Happy_Gamer Posted March 28, 2016 Posted March 28, 2016 I am trying to dynamically create recipes using mod items from ItemRegistry. How would I do that? Example: Item "X" is added by some random mod, and I want to make this recipe from it: X,X,X X,X,X X,X,X Any help would be appreciated. Quote
coolAlias Posted March 28, 2016 Posted March 28, 2016 Is there any sort of logic to how you choose inputs and outputs, or you just want every single registered item to be craftable in groups of 9 to make... what? Anyway, just iterate through the registered items and add recipes, e.g.: for (Item item : registered items) { GameRegistry.addRecipe(output, 'xxx','xxx','xxx', 'x', item); } Quote http://i.imgur.com/NdrFdld.png[/img]
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.