Posted February 7, 201312 yr Hello, is it possible to make a SmeltingRecipe and return a new ItemStack at the End? I already tried to add return new ItemStack(Item.bucketEmpty); but this didn't work. Maybe someone have a solution?
February 7, 201312 yr Author Yes right. How can I use getContainerItem, when the Item is ready? Is there a function, too? Best wishes, Vitalij
February 7, 201312 yr once the item is used, it will call on the method, getContainerItem. Your item should not be stackable, or when smelted, you will only get one item back, from the x items you smelted. https://minecraft.curseforge.com/members/Subaraki/projects
February 7, 201312 yr Author I've added the following code to my item class: public Item getContainerItem() { return Item.bucketEmpty; } but i think i forgot something because this is only the function. Where should I use this?
February 7, 201312 yr Author hmm, but when I smelt my ItembucketMilk and got cheese (custom item), the empty bucket isn't returning.
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.