#Recipe consumes item from tag instead of damage it

7 messages · Page 1 of 1 (latest)

drifting hare
#

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

devout helmBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

atomic salmon
#

just .keepIngredient("#forge:hoes") should work

drifting hare
atomic salmon
#

.damageIngredient automatically also keeps the ingredient so no need to use both

#

also would recommend doing .damageIngredient("#forge:hoes")

drifting hare
#

Ok that's the exact outcome i was looking for, thank you