Posted August 9, 201411 yr I would like to be able for the player to use an anvil to repair their armor. How would I do that? Pretty much, how would I add an anvil recipe? Thanks
August 9, 201411 yr You do not add a recipe. Instead, in each tool and armor class, override the method "getIsRepairable". If the 2nd stack is the input that should repair your object, then return true. The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
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.