@@ -32,7 +32,7 @@ public class BreweryApi {
3232 * <p>Higher numbers mean newer API, but it doesn't necessarily mean that something has changed, may be additions only
3333 */
3434 public static int getApiVersion () {
35- return 2 ;
35+ return 3 ;
3636 }
3737
3838 /**
@@ -152,6 +152,7 @@ public static boolean isBrew(ItemStack item) {
152152 *
153153 * @param recipeName The Name of the Recipe to create this Brew from
154154 * @return The Brew that was created. Can use brew.createItem() to get an ItemStack
155+ * @since v3.0 (Api 3)
155156 */
156157 @ Nullable
157158 public static Brew createBrew (String recipeName , int quality ) {
@@ -178,6 +179,7 @@ public static Brew createBrew(BRecipe recipe, int quality) {
178179 * @param recipeName The Name of the Recipe to create this Item from
179180 * @param quality The Quality of the Brew Item
180181 * @return The Brew- ItemStack with Brew information stored on it
182+ * @since v3.0 (Api 3)
181183 */
182184 @ Nullable
183185 public static ItemStack createBrewItem (String recipeName , int quality ) {
@@ -194,6 +196,7 @@ public static ItemStack createBrewItem(String recipeName, int quality) {
194196 * @param recipe The Recipe to create this Item from
195197 * @param quality The Quality of the Brew Item
196198 * @return The Brew- ItemStack with Brew information stored on it
199+ * @since v3.0 (Api 3)
197200 */
198201 public static ItemStack createBrewItem (BRecipe recipe , int quality ) {
199202 return recipe .create (quality );
@@ -204,6 +207,7 @@ public static ItemStack createBrewItem(BRecipe recipe, int quality) {
204207 *
205208 * @param item The ItemStack to get the Recipe Name of
206209 * @return The middle-quality name of the current Recipe. Null if it is not a brew, or it currently has no Recipe
210+ * @since v3.0 (Api 3)
207211 */
208212 @ Nullable
209213 public static String getRecipeName (ItemStack item ) {
@@ -219,6 +223,7 @@ public static String getRecipeName(ItemStack item) {
219223 *
220224 * @param brew The Brew to get the Recipe Name of
221225 * @return The middle-quality name of the current Brew Recipe. Null if it currently has no Recipe
226+ * @since v3.0 (Api 3)
222227 */
223228 @ Nullable
224229 public static String getRecipeName (Brew brew ) {
@@ -328,6 +333,8 @@ public static BRecipe getRecipe(String name) {
328333 * Get a BRecipe by _one of_ its names.
329334 * <p>May be any of the quality names, or the optional config id.
330335 * <p>Returns null if recipe with that name does not exist
336+ *
337+ * @since v3.0 (Api 3)
331338 */
332339 @ Nullable
333340 public static BRecipe getRecipeMatch (String name ) {
0 commit comments