Posted September 28, 201312 yr Is there a way to add anvil/potion recipes? For instance if I wanted to add an anvil recipe where a weapon plus an emerald gives it an emerald upgrade. Or for the brewing stand, a water bottle plus a melon yields a melon drink etc.
September 28, 201312 yr Potions will be a huge pain in the ass, just FYI. isPotionIngredient isn't enough, as there's a whole bitflag system in place to handle what brews into what and what constitutes a valid result. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
September 28, 201312 yr Author I had played around a bit with the whole bitflag system before and had a really crude setup created for potions. I'd like to find a better way though because as far as I know there are only so many combinations. I'll look at isBookEnchantable for the anvil.
September 28, 201312 yr That is if you want to create potions as vanilla. You can use the brewing event to return a custom item (which may or may not be a potion).
September 28, 201312 yr Author That is if you want to create potions as vanilla. You can use the brewing event to return a custom item (which may or may not be a potion). Thank you! I will definitely look at that =D I had seen the event before but had no idea how it was used. Now I do, sort of, we'll see =D
September 28, 201312 yr Author isBookEnchantable doesn't activate at all unless the item ID is the enchanted book idea, looked at the source =/
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.