Jump to content

Trying to figure out non oreDictionary recipies


WolfAmaril

Recommended Posts

I'm trying to use flint as part of a recipie, but I can't find the documentation on how to use an item not in the ore dictionary.

 

The current recipie I have is as follows

GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(ModItems.adaptiveIgnitorBlack), "dfi", 'd', "dyeBlack", 'f', "ItemFlint", 'i', "ingotIron"));
Link to comment
Share on other sites

Hi

 

This is where the whole "first time modder" bit really sucks.
yes, so true.

 

Since I am still a newbie too, I don't know if I am right, but I currently use

GameRegistry.addShapelessRecipe(ItemStack, Object... args)

Where the itemStack the result is (metadata and quantity set) and the args-object is a so-called variable argument list, containing ItemStacks of ingredients (again, metadata and quantity sensitive).

 

But all this code is at least for 1.7.10 and I do absolutely know nothing about 1.8...

 

Hope this was helpful

Sincerely -pick

 

PS: http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-creating-your-own-mod-standard-setup/#sthash.cinJYSQ8.dpbs - A link to some really good beginners tutorials, they helped me a lot.

Since English is not my mother tongue, my sentences may are confusing.

 

I'm coding java for a long time now - just MC and forge stop me sometimes.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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