I'm looking for a way to utilize items from another mod (Cobblemon in this case) with my own, but I'm unsure about how to go about importing this for use. I took a look at the source code and have an idea of what areas I would need to import so my biggest questions are:
-
How do I go about making the Cobblemon information available for importing (or would just adding this to the mods folder in IntelliJ suffice). Specifically com.cobblemon.mod.common.item.*
-
From what I've read online Cobblemon's items are written in Kotlin which is fully interoperable with Java, but I'm unsure if there are extra steps involved to make those readily available in IntelliJ or if I can just use the item names outright after the above is complete.
-
The goal is to create alternative recipes without needing to dabble in Mixins (as I'm completely new to this/coding in general) instead using items from Cobblemon and my own in a mod recipe and then creating an item from Cobblemon as a result. For example maybe using something other than apricorns to make pokeballs or custom items for specific medicine.
Not sure how involved that would be or if its really simple and I just cant find the way to do it. Any help or a point in the right direction would be greatly appreciated!