Bukkit/CraftBukkit — pull request #941 by shinyquagsire23 (2012-11-30 06:06:24+00:00)
Title: Added BrewRecipe, BrewEndEvent, and PotionBitSet. Fixes Bukkit-2441 and BUKKIT-1604.

Modified TileEntityBrewing and SlotBrewing to allow for new potion ingredients. Also modified PotionBrewer to allow the overriding of the potion's effects based on damage value. Added PotionRecipes as a class to store the different overrides and recipes. Added CraftBrewRecipe to CraftServer's addRecipe method.

And to get this awesome modification accepted, I followed the guidelines set by the README as well as I could. BTW, somehow this got closed by myself, so I'm re-pull-requesting. Added PotionBrewer.java and SlotBrewing.java from NMS.

Corresponding Bukkit Pull: #714