How do I make my mod compatible with texture packs and other mods?

Started by bananarang_mods on Tue, 09/29/2020 - 04:56

Topic category: Advanced modding

Last seen on 03:32, 26. Oct 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make my mod compatible with texture packs and other mods?
Tue, 09/29/2020 - 05:00 (edited)

I'm making a new mod that uses textures that are being used right now, but I want to know, how do I use the texture of a single block, like Crayfish did (like stone furniture using the texture of stone in the texture pack you're using, same with other stone types)? Also I want to make my mod compatible with WildCraft, my other mod (like use blocks from my mod for drops from blocks in my new mod)

 

sorry if its duplicate

Edited by bananarang_mods on Tue, 09/29/2020 - 05:00
Last seen on 03:32, 26. Oct 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
..............
Wed, 09/30/2020 - 05:28

..............

Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Regarding texture compatible…
Wed, 09/30/2020 - 13:07

Regarding texture compatible, it isn't possible right now, but you can upvote that ticket Smakced mentioned so developers might consider adding it in the next update (or someone might add that feature in a plugin)

Regarding compatibility between mods, it depends on what you want to do exactly. You can add tags to blocks and items in a mod so they can be referenced in other mods by checking the same tag (look at the wiki for a guide). You can use tags for recipes too (like ore dictionary).

An nbt variable added by a mod can also be checked by another one, to create even more complex mod compatibility