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

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

import java.util.Collection;

public interface SpellAction
{
    public void prepare(ConfigurationSection parameters);
    public void finish(ConfigurationSection parameters);
    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();
    public String transformMessage(String message);
}

@@ -394,12 +394,18 @@
 oid 
-load
+initialize
 (Spe
@@ -802,10 +802,108 @@
 ssage);%0A
+    public void load(ConfigurationSection node);%0A    public void save(ConfigurationSection node);%0A
 %7D%0A

Rename SpellAction.load to initialize, add save/load for data persistence