You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to add recipes with Terrafirmacraft 1.12.2 to grind TFC grains into their equivalent flour. All food items in TFC have a Forge Capability to track their creation date and thus when they should decay into in-edibleness. Because of this I cannot insert the grains into the Grindstone as the Items in hand fail the comparison to the recipe.
I did make it work by changing the Utils.getItemStackHashCode to strip out the ForgeCaps nbt and then again in ComparableItemStack, by changing ItemStack.areItemStackTagsEqual(stack, that.stack) to this.hashCode() == that.hashCode(). I don't know if that an ideal solution but I was trying to figure out why it was failing.
Would love to have this work with the TFC food items. There are olives to press, grain to grind, minerals to crush. Anything without capability data works fine. But the foods just can't be inserted into the machine. Doesn't matter if I set a wildcard or not, as that's not where the comparison was failing.
Attempting to add recipes with Terrafirmacraft 1.12.2 to grind TFC grains into their equivalent flour. All food items in TFC have a Forge Capability to track their creation date and thus when they should decay into in-edibleness. Because of this I cannot insert the grains into the Grindstone as the Items in hand fail the comparison to the recipe.
I did make it work by changing the Utils.getItemStackHashCode to strip out the ForgeCaps nbt and then again in ComparableItemStack, by changing ItemStack.areItemStackTagsEqual(stack, that.stack) to this.hashCode() == that.hashCode(). I don't know if that an ideal solution but I was trying to figure out why it was failing.
Would love to have this work with the TFC food items. There are olives to press, grain to grind, minerals to crush. Anything without capability data works fine. But the foods just can't be inserted into the machine. Doesn't matter if I set a wildcard or not, as that's not where the comparison was failing.
Let me know if you need any further information.
Forge version: forge-1.12.2-14.23.5.2847
TFC version: terrafirmacraft-mc1.12-1.4.0.149
Horsepower version: horsepower-1.12.2-2.6.4.74
The text was updated successfully, but these errors were encountered: