I mean, it’s the official builds that are crashing for me and my custom build just avoid the problem by never calling the offending code…
But trying to make sense of the crash…
SmelterManager.java:addTERecipe:317 is
[…]
314 │ RecipeSmelter recipe = new RecipeSmelter(primaryInput, secondaryInput, primaryOutput, secondaryOutput, secondaryChance, energy);
315 │ recipeMap.put(Arrays.asList(new ComparableItemStackSmelter(primaryInput), new ComparableItemStackSmelter(secondaryInput)), recipe);
316 │ validationSet.add(new ComparableItemStackSmelter(primaryInput));
317 │ validationSet.add(new ComparableItemStackSmelter(secondaryInput));
318 │ return true;
public static class ComparableItemStackSmelter extends ComparableItemStack {
ComparableItemStack is part of
import cofh.lib.inventory.ComparableItemStack;
import cofh.lib.util.ComparableItem;
[…]
public class ComparableItemStack extends ComparableItem {
[…]
@Override
public int hashCode() {
return oreID != -1 ? oreID : super.hashCode();
…and ComparableItem’s hashCode is the good old
// TODO: this hash conflicts a lot
So yeah, TE is buggy, but it’s still that cofhlib code that is causing troubles, I guess?
I’m not a java programmer ![]()