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 Type
    Method
    Description
    boolean
    Checks whether the given elements match this potion recipe.
  • Method Details

    • potionMatchesRecipe

      boolean potionMatchesRecipe(List<BaseElement> elements)
      Checks whether the given elements match this potion recipe.
      Parameters:
      elements - selected elements from the merge station
      Returns:
      true when the recipe is correct