Jump to content

How to make items compatible with other mods?


jordsta95

Recommended Posts

Hey there, to cut to the chase I would like to make my item (steel) compatible with Gregtech's steel, so people using my mod could use it for those recipes too (or other mods as well)

 

How do I make it possible to do that?

 

Thanks a lot

-Jordan

Why bother?

Link to comment
Share on other sites

I read the ore dictionary thing, and added 2 of my custom additions (Steel (item) and Bauxite (block)) and when I run it alongside other mods that use the 2 things in the OreDictionary:

ingotSteel and oreBauxite it doesn't allow me to use my items in the recipes... here is the code I added:

 

 

public static void oreRegistration()

{

OreDictionary.registerOre("ingotSteel", new ItemStack(Steel));

OreDictionary.registerOre("oreBauxite", new ItemStack(Bauxite));

}

 

 

 

which is exactly how the tutorial you linked me said (And yes this is in the @Init statement)

Why bother?

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.



×
×
  • Create New...

Important Information

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