Tierify

Tierify

2M Downloads

Incomptability with Modular Item Mods

Smartin-b opened this issue ยท 1 comments

commented

The issue seems to be the way repair ingredients are checked,
https://github.com/nvb-uy/Tierify/blob/main/src/main/java/elocindev/tierify/screen/ReforgeScreenHandler.java#L87
you should instead call the Item class method (in yarn)

public boolean canRepair(ItemStack stack, ItemStack ingredient)

method to test for an repairIngredient of an Item, instead of calling the ToolMaterial, this way Items can be ItemStack sensitive to certain repair materials.

commented

specificly, compat with Truly Modular would be great, im the lead dev of Truly Modular, so if you have any other questions feel free to ask.