Skip to content

Commit

Permalink
Push Version to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn0wStorm committed Nov 28, 2020
1 parent d34dc24 commit b39bbf4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Brewery is a Minecraft-Plugin for an alternate brewing process, including alcoholic Potions.
### Brewery is a Minecraft-Plugin for an alternate brewing process, including alcoholic Potions.

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

***

Expand All @@ -20,7 +20,7 @@ Also see [Wiki](https://github.com/DieReicheErethons/Brewery/wiki) | [Releases]
<dependency>
<groupId>com.github.DieReicheErethons</groupId>
<artifactId>Brewery</artifactId>
<version>2.1.3</version>
<version>3.0</version>
<scope>provided</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.dre</groupId>
<artifactId>Brewery</artifactId>
<version>2.1.2</version>
<version>3.0</version>
<name>Brewery</name>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Brewery
version: 2.1.2
version: 3.0
main: com.dre.brewery.P
softdepend: [LWC, LogBlock, WorldGuard, GriefPrevention, Vault, ChestShop, Shopkeepers, Towny, BlockLocker]
authors: [Milan Albrecht, Frank Baumann, ProgrammerDan, Daniel Saukel]
Expand Down
9 changes: 8 additions & 1 deletion src/com/dre/brewery/api/BreweryApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class BreweryApi {
* <p>Higher numbers mean newer API, but it doesn't necessarily mean that something has changed, may be additions only
*/
public static int getApiVersion() {
return 2;
return 3;
}

/**
Expand Down Expand Up @@ -152,6 +152,7 @@ public static boolean isBrew(ItemStack item) {
*
* @param recipeName The Name of the Recipe to create this Brew from
* @return The Brew that was created. Can use brew.createItem() to get an ItemStack
* @since v3.0 (Api 3)
*/
@Nullable
public static Brew createBrew(String recipeName, int quality) {
Expand All @@ -178,6 +179,7 @@ public static Brew createBrew(BRecipe recipe, int quality) {
* @param recipeName The Name of the Recipe to create this Item from
* @param quality The Quality of the Brew Item
* @return The Brew- ItemStack with Brew information stored on it
* @since v3.0 (Api 3)
*/
@Nullable
public static ItemStack createBrewItem(String recipeName, int quality) {
Expand All @@ -194,6 +196,7 @@ public static ItemStack createBrewItem(String recipeName, int quality) {
* @param recipe The Recipe to create this Item from
* @param quality The Quality of the Brew Item
* @return The Brew- ItemStack with Brew information stored on it
* @since v3.0 (Api 3)
*/
public static ItemStack createBrewItem(BRecipe recipe, int quality) {
return recipe.create(quality);
Expand All @@ -204,6 +207,7 @@ public static ItemStack createBrewItem(BRecipe recipe, int quality) {
*
* @param item The ItemStack to get the Recipe Name of
* @return The middle-quality name of the current Recipe. Null if it is not a brew, or it currently has no Recipe
* @since v3.0 (Api 3)
*/
@Nullable
public static String getRecipeName(ItemStack item) {
Expand All @@ -219,6 +223,7 @@ public static String getRecipeName(ItemStack item) {
*
* @param brew The Brew to get the Recipe Name of
* @return The middle-quality name of the current Brew Recipe. Null if it currently has no Recipe
* @since v3.0 (Api 3)
*/
@Nullable
public static String getRecipeName(Brew brew) {
Expand Down Expand Up @@ -328,6 +333,8 @@ public static BRecipe getRecipe(String name) {
* Get a BRecipe by _one of_ its names.
* <p>May be any of the quality names, or the optional config id.
* <p>Returns null if recipe with that name does not exist
*
* @since v3.0 (Api 3)
*/
@Nullable
public static BRecipe getRecipeMatch(String name) {
Expand Down
2 changes: 2 additions & 0 deletions src/com/dre/brewery/api/events/barrel/BarrelAccessEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public Block getClickedBlock() {

/**
* Get the clicked Block Face when clicking on the Barrel Block
*
* @since v3.0 (Api 3)
*/
public BlockFace getClickedBlockFace() {
return clickedBlockFace;
Expand Down

0 comments on commit b39bbf4

Please sign in to comment.