67 this.ingredients =
new Item[]{
new Item(unfinishedPotion),
new Item(ingredient)};
81 if (potion.ingredients[0].equals(use) && potion.ingredients[1].equals(with) || potion.ingredients[1].equals(use) && potion.ingredients[0].equals(with)) {
FinishedPotion(int product, int unfinishedPotion, int ingredient, int level, double experience)
Constructs a new FinishedPotion.
final int product
The finished potion product.
Item[] getIngredients()
Gets the ingredients required for the potion.
int getAnimation()
Gets the potion animation.
final double experience
The experience rewarded for the potion.
double getExperience()
Gets the experience rewarded.
int getLevel()
Gets the level required for making the potion.
final Item[] ingredients
The finished potion ingredients.
final int level
The level required to make the potion.
The potion making itemcontainer.