Posted December 30, 20213 yr Could someone explain how craftRemainder method works a little better. The docs were kinda vague on how to use the method Also mainly i want an item like a hammer to make stone into a new stone, but its always consumed in the crafting. How can i stop this. Im thinking craftRemainder is how todo it.
December 30, 20213 yr Author 2 hours ago, diesieben07 said: You have to override getContainerItem in your item class. It will be called whenever your item is used as a crafting ingredient and you have to return whatever should be left behind in the crafting grid. For example a lava bucket returns an empty bucket. Im guessing you just return the same item
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.