Closed Loriborn closed 5 years ago
An ItemStack doesn't use NBT to specify amount. To specify an amount you can use *
(multiplication):
import mods.TinkersForging.Anvil;
Anvil.addRecipe(<minecraft:iron_ingot> * 3, <minecraft:iron_bars> * 8, 2, "hit_last", "hit_second_last");
Which will produce the result:
Vanilla Tinkers Forging recipes require specific amounts of ingots in order to create a component, but trying to use NBT tags (ex..withTag({Item: {Count: 2}}) ) doesn't actually work and thus there's no way to make certain recipes more expensive than others, unless there's something I'm missing. IIngredient methods, like - .amount(x) also do not work.