package com.elmakers.mine.bukkit.api.action;

import com.elmakers.mine.bukkit.api.spell.Spell;
import org.bukkit.configuration.ConfigurationSection;

import java.util.Collection;

public interface SpellAction
{
    public void load(Spell spell, ConfigurationSection parameters);
    public ConfigurationSection getParameters(ConfigurationSection baseParameters);
    public void getParameterNames(Collection<String> parameters);
    public void getParameterOptions(Collection<String> examples, String parameterKey);
    public boolean usesBrush();
    public boolean isUndoable();
}

@@ -88,16 +88,71 @@
 .Spell;%0A
+import com.elmakers.mine.bukkit.api.spell.SpellResult;%0A
 import o
@@ -259,16 +259,74 @@
 ction%0A%7B%0A
+    public void prepare(ConfigurationSection parameters);%0A
     publ

Add a "prepare" method that is called on a SpellAction prior to casting.