Created
July 9, 2013 22:51
-
-
Save riking/5962029 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.bukkit.potion.newpotion; | |
import org.bukkit.inventory.ItemStack; | |
public interface NewPotionBrewer { | |
/** | |
* Complete a brewing action on the given potion. This method will modify | |
* the ItemStack given in its potion argument, and return true when | |
* finished. If the brewing fails for any reason, such as the potion item | |
* not actually being a potion or the ingredient not being valid, false | |
* will be returned and the 'potion' stack will not be modified. | |
* | |
* @param ingredient the ingredient to the brewing | |
* @param potion the itemstack to apply the changes to | |
* @return whether any changes were made. | |
*/ | |
public boolean performBrew(final ItemStack ingredient, ItemStack potion); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Help me..??