Interface MergeAble
- All Known Implementing Classes:
DreamMistPotion, EnergySplashPotion, NovaSparkPotion, PassionPopPotion, SoothingLovePotion, StarloveCharmPotion
public interface MergeAble
Contract for potions that can validate a two-element merge recipe.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpotionMatchesRecipe(List<BaseElement> elements) Checks whether the given elements match this potion recipe.
-
Method Details
-
potionMatchesRecipe
Checks whether the given elements match this potion recipe.- Parameters:
elements- selected elements from the merge station- Returns:
- true when the recipe is correct
-