mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-11-14 10:15:38 +01:00
Push Version to 3.0
This commit is contained in:
parent
d34dc240dc
commit
b39bbf47f5
@ -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)
|
||||
|
||||
***
|
||||
|
||||
@ -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>
|
||||
```
|
||||
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>com.dre</groupId>
|
||||
<artifactId>Brewery</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>3.0</version>
|
||||
<name>Brewery</name>
|
||||
|
||||
<properties>
|
||||
|
@ -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]
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -152,6 +152,7 @@ public class BreweryApi {
|
||||
*
|
||||
* @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) {
|
||||
@ -178,6 +179,7 @@ public class BreweryApi {
|
||||
* @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) {
|
||||
@ -194,6 +196,7 @@ public class BreweryApi {
|
||||
* @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);
|
||||
@ -204,6 +207,7 @@ public class BreweryApi {
|
||||
*
|
||||
* @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) {
|
||||
@ -219,6 +223,7 @@ public class BreweryApi {
|
||||
*
|
||||
* @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) {
|
||||
@ -328,6 +333,8 @@ public class BreweryApi {
|
||||
* 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) {
|
||||
|
@ -41,6 +41,8 @@ public class BarrelAccessEvent extends BarrelEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* Get the clicked Block Face when clicking on the Barrel Block
|
||||
*
|
||||
* @since v3.0 (Api 3)
|
||||
*/
|
||||
public BlockFace getClickedBlockFace() {
|
||||
return clickedBlockFace;
|
||||
|
Loading…
Reference in New Issue
Block a user