IC2 blast furnace doesnt display amount when oreDictionary is used
seras42 opened this issue ยท 4 comments
import mods.ic2.BlastFurnace;
import crafttweaker.item.IIngredient;
import crafttweaker.item.IItemStack;
import crafttweaker.oredict.IOreDictEntry;
enableDebug();
var CopperOre = [
ore:oreCopperNormal,
ore:oreCopperPoor,
ore:oreRichCopper,
ore:oreCopperSmall
] as IIngredient[];
function BlastFurnace(inputOre as IIngredient[], output as IItemStack) {
val numbers = [
3,5,2,7
] as int[];
for i, ore in inputOre {
mods.ic2.BlastFurnace.addRecipe([output,ic2:misc_resource:5], ore * numbers[i], 1, 2500);
}
}
BlastFurnace(CopperOre,tfc:metal/ingot/copper);
For some reason JEI doesn't show the amount of ore needed to craft the ingot. Before that when i did not use ore dictionary it worked, then i changed it to ore dictionary to make the code shorter and now it doesn't show it even tough the recipe works correctly.
Minecraft version 1.12.2
Forge 14.23.5.2859
Craft Tweaker2 4.1.20.675
IC2 Tweaker 2.0
Probably a duplicate of #5. See there for more details.
Update: reproduced locally. Confirmed as a duplicate.
Duplicate of #5