Posted November 24, 201311 yr I want to make an item with damage. With different damage, it represent different item, like wool and wood. But when I craft the item with damage 2, it auto combine with the item with damage 1 when using Shift+Click. But when I take it from the crafting table(custome crafting table, don't know if it's related), they are different, and can not combine together. Which method should I override to prevent the item from combine automatically between item with different damage?
November 24, 201311 yr Author And I found when I pick the item up on the ground, it will combine with my inventory item that with different damage too.
November 24, 201311 yr Item#setHasSubtypes(true) You need that so merging check for the item damage beforehand.
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.