Started by
MDK
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, i have a problem. Im trying to make a Washing Machine, that repairs armor. But i cant make it so that it repairs any piece of armor. I have to do the armor pieces Manually which would take forever. Is there a way for the procedure to recognize any type of armor and repair it/put the exact armor in slot 2 which i put in slot 0? (also in the picture you see soap which is just a feature i added)
Edited by MDK on Fri, 07/14/2023 - 17:25
just check if its in the armor tag, and if so just deal -1 damage if damage != 0