So i have this code here but .amount(5) doesnt work and i dont really know what to change it to
function Alloys(out, in1, in2) {
event.recipes.create.mixing(Item.of(out).amount(4), [in1, in2]).heated();
}
Alloys(C('brass_ingot'), MC('copper_ingot'), C('zinc_ingot'))
im gonna add more code so i wont be able to just type
Alloys(C('brass_ingot', 5), MC('copper_ingot'), C('zinc_ingot'))```