#recipe that decreases items durability
17 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
add .damageIngredient() at the end of the recipe
https://github1s.com/KubeJS-Mods/KubeJS/blob/1.18/main/common/src/main/java/dev/latvian/mods/kubejs/recipe/RecipeJS.java#L420-L426
might need to use keep too, not sure
Thanks but I’m trying to add a create filling recipe that outputs a the same thing as the input but with 1 less durability
Oh that's a bit more complicated, nit ulsure how to do that 
yeah, it would need to copy the nbt of the input and take 1 from the durability and put it onto the output
its something with .modifyResult()
but ive never done it, so i can only speculate on how to use it
I just hope someone knows how to use it
create filling 
look what i found
searching discord for modifyResult brings up a lot of results :p
might find something
Oh Ty
@long meteor Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!