Class NovaSparkPotion

java.lang.Object
gameelement.potion.BasePotion
gameelement.potion.NovaSparkPotion
All Implemented Interfaces:
MergeAble

public class NovaSparkPotion extends BasePotion implements MergeAble
Potion made from Star Dust and Spark Ember.
  • Constructor Details

    • NovaSparkPotion

      public NovaSparkPotion()
      Creates a Nova Spark potion with its recipe, type, and power.
  • Method Details

    • potionMatchesRecipe

      public boolean potionMatchesRecipe(List<BaseElement> elements)
      Checks whether the selected elements can merge into Nova Spark.
      Specified by:
      potionMatchesRecipe in interface MergeAble
      Specified by:
      potionMatchesRecipe in class BasePotion
      Parameters:
      elements - selected elements from the merge station
      Returns:
      true when Star Dust and Spark Ember are selected