Posted October 18, 20204 yr Hello, I'm trying to add a custom recipe type (1.16.3) like item repairing. I have a custom item, and I'd like crafting it in specific shapeless recipes increase its durability and change its nbt data. How do I do this?
October 19, 20204 yr For a custom recipe, I recommend taking a look at the RepairItemRecipe class in the source. However if your item is a weapon, tool, or armor that extends an existing archetype like a sword, helmet, etc, then it should automatically implement that recipe (combining durability in crafting table). If you want to add the anvil version of this, you can override the getIsRepairable() method in your item class. If you want more info on registering a custom recipe, lmk. Edited October 19, 20204 yr by urbanxx001
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.