Posted April 29, 201312 yr Is it possible to use potions in crafting recipes? Not using the effect in an item like potion effected food, but craft an item like a sword using a potion and other items. I have looked all over the MC code and have not been able to find how the brewing stand does this... Any help at all is appreciated
April 29, 201312 yr You just need to make it an itemstack instead of the item in the parameters for the crafting recipe. For example, if you want to use a regular potion of invisibility, you would just need to put: new ItemStack(Item.potion, 1, 8206) That's all! -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
April 29, 201312 yr Author Wow, thanks for the fast reply....I knew I was on the right track, I thought I could use ItemPotion though cause Item.potion wasnt giving me the list of potions to choose from, didnt think of it in terms like wool, or dyes and using metadata....thanks.
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.