arungupta Posted December 3, 2014 Posted December 3, 2014 I understand crafting and smelting recipes using Forge. How do I create brewing recipes ? [1] is unanswered and answer in [2] is not clear. Is Brewing supported or planned in upcoming releases ? [1] http://www.minecraftforge.net/forum/index.php?topic=2611.0 [2] http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/modification-development/1428976-adding-brewing-recipes Quote
arungupta Posted December 3, 2014 Author Posted December 3, 2014 Had troubles with the "weird string format". Can you share an example for that ? Quote
Draco18s Posted December 3, 2014 Posted December 3, 2014 Potions are mo***fu*** weird. Those "weird strings" are basically a serialized way of doing bitwise math. Add, subtract, AND, NOT, XOR, etc. This is because every single potion in vanilla is a single item with 140 different damage values: Basically, each potion ingredient makes a change to the bits, only works if certain bits are active (for example, you can't make a splash potion out of a bottle of water even though if you give yourself a potion with those flags you will get a splash potion that doesn't exist) etc. etc. The one time I dug into the code I was duplicating it for my own purposes and even then it was tricky to work with and ended up redefining how the string options even worked because I couldn't get the original to do what I wanted/needed. Quote 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.
Recommended Posts
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.