Hello, as you can probably guess i'm new here and i'm having an issue with a line of code (which i could guess already has been solved before and i haven''t searched for long enough to find it), where i wanna use an item tag "#forge:hoes" AND have the item be kept with some amount of damage dealt to it, yet when i test it in-game, the item gets consumed, I've tested it before with a single item which was "minecraft:wooden_hoe" and it worked correctly, so i wanted to ask what has to be changed in this single line of code so that it works how it's supposed to (image of the line in the code attached), thanks to everyone in advance that's willing to explain it
#Recipe consumes item from tag instead of damage it
7 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
just .keepIngredient("#forge:hoes") should work
tried it and yes, it works, but one weird thing i noticed is that if i keep .damageIngredient(1) after which i reload ofc, when i craft the farmland and exit the inventory screen, the hoe magically returns with no damage dealt to it, which i find quite strange
.damageIngredient automatically also keeps the ingredient so no need to use both
also would recommend doing .damageIngredient("#forge:hoes")
Ok that's the exact outcome i was looking for, thank you