Started by
Makuta Nazo
on
Topic category: Help with MCreator software
For background information I'm making a weapons mod that occasionally requires resources from other mods to craft. I have figured out how to make the weapons craftable, however I cannot figure out how to make those weapons also use that same modded resource to be repairable.
For example, I have one set of weapons using the Resonarium resource from the Deeper and Darker mod, so I created a tag in the repair section that goes something like this:
@Override
public Ingredient getRepairIngredient() {
return Ingredient.of(ItemTags.create(ResourceLocation.parse("deeperdarker:resonarium_plate")));
}
This of course doesn't work, as I don't know enough (or really any) Java to see what I'm missing.
I'm pretty sure you'd need to include the deep and darker mod in your gradle project to be able to use items from it.
I'm fine if that ends up being the case, however I am able to use items from the mod in my crafting recipes just fine as long as I point to the mod_id:item_id correctly, so I was hoping I could do a similar thing with making tools repairable.
In the event I have to include Deeper and Darker in my gradle project.... uh... how would I start that?