Shadows-of-Fire / Foundry

Minecraft mod that adds liquid metals
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Broken orestack bracket handler? #16

Closed Matryoshika closed 6 years ago

Matryoshika commented 6 years ago

Foundry: 3.1.1.0 Forge: 14.23.2.2615 I'm reducing the output of some ores, from 1 ingot down to just 1 nugget, however, I'm running into a wall when trying to bring that over to Foundry. mods.foundry.Melting.removeRecipe(<orestack:oreIron> * 1);, and several other variations like using CrT's own ore-brackethandler, with and without size etc, all return a method available but none matches the parameters (ZenTypeNative: crafttweaker.item.IIngredient) removeRecipe(ZenTypeNative: crafttweaker.item.IItemStack)

Shadows-of-Fire commented 6 years ago

Foundry's removal method for this only takes an IItemStack, not an IIngredient. The recipes aren't per stack by default, so remove() will remove oreIron.