Hello, I am developing a mod that has an item called a "knife" which, when I use it on the crafting table, should not get used on the crafting table but get 1 damage and get back into the player's inventory. Instead when I use the recipe the knife gets consumed with the other ingredient. Do you know how to fix this?
My codes:
ItemKnife.java:
MainClass.java:
Best regards,
mission712