Skip to content

Commit b39bbf4

Browse files
committed
Push Version to 3.0
1 parent d34dc24 commit b39bbf4

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
### Brewery is a Minecraft-Plugin for an alternate brewing process, including alcoholic Potions.
1+
### Brewery is a Minecraft-Plugin for an alternate brewing process, including alcoholic Potions.
22

3-
[![Build Status](https://travis-ci.org/DieReicheErethons/Brewery.png?branch=master)](https://travis-ci.org/DieReicheErethons/Brewery)
3+
[![Build Status](https://travis-ci.org/DieReicheErethons/Brewery.png?branch=master)](https://travis-ci.org/DieReicheErethons/Brewery)
44

55
***
66

@@ -20,7 +20,7 @@ Also see [Wiki](https://github.com/DieReicheErethons/Brewery/wiki) | [Releases]
2020
<dependency>
2121
<groupId>com.github.DieReicheErethons</groupId>
2222
<artifactId>Brewery</artifactId>
23-
<version>2.1.3</version>
23+
<version>3.0</version>
2424
<scope>provided</scope>
2525
</dependency>
2626
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.dre</groupId>
66
<artifactId>Brewery</artifactId>
7-
<version>2.1.2</version>
7+
<version>3.0</version>
88
<name>Brewery</name>
99

1010
<properties>

resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Brewery
2-
version: 2.1.2
2+
version: 3.0
33
main: com.dre.brewery.P
44
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention, Vault, ChestShop, Shopkeepers, Towny, BlockLocker]
55
authors: [Milan Albrecht, Frank Baumann, ProgrammerDan, Daniel Saukel]

src/com/dre/brewery/api/BreweryApi.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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) {

src/com/dre/brewery/api/events/barrel/BarrelAccessEvent.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public Block getClickedBlock() {
4141

4242
/**
4343
* Get the clicked Block Face when clicking on the Barrel Block
44+
*
45+
* @since v3.0 (Api 3)
4446
*/
4547
public BlockFace getClickedBlockFace() {
4648
return clickedBlockFace;

0 commit comments

Comments
 (0)