Skip to content

Instantly share code, notes, and snippets.

@riking
Created July 9, 2013 22:51
Show Gist options
  • Save riking/5962029 to your computer and use it in GitHub Desktop.
Save riking/5962029 to your computer and use it in GitHub Desktop.
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);
}
@Andikmove
Copy link

Help me..??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment