#Repair Ingredient Not Working

10 messages · Page 1 of 1 (latest)

tough loom
#

Hi there, it seems like the tool tier is broken thus causing the repair ingredient not working as well. Is there any other alternative or solution for making existing item anvil repair with different item? or not necessary anvil, but just by standard crafting, and retain the item's nbt data etc.

plain siloBOT
#

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

quaint bolt
#

not sure but this may work

.damageIngredient('item id', -4)
tough loom
#

unfortunately that doesn't work
I imagine something to be ironsword(with NBT) + gold ingot = ironsword(with NBT) but with more durability repaired

#

technically it does work in a way but the result doesn't allow me to have air

#

meaning it must always craft something out to repair the item

paper timber
#

with .modifyResult you can technically Set an empty result

#

Sorry better than using damageIngredient is probably to modifyResult directly to give the repaired result

tough loom
#

hmm I see, is there a way for modifyResult to retrieve the "tool to repair" with all its nbt data, but with just modified damage only?

#

ah I found a similar script for modifyResult repair, thanks for the pointer, it's really helpful