dev.aurelium.auraskills.api.menu.ContextParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of auraskills-api-bukkit Show documentation
Show all versions of auraskills-api-bukkit Show documentation
API for AuraSkills, the ultra-versatile RPG skills plugin for Minecraft
package dev.aurelium.auraskills.api.menu;
@FunctionalInterface
public interface ContextParser {
/**
* Parses a context type from the menu name and input string.
*
* @param menuName the name of the menu as registered in the plugin
* @param input the input string, which is usually the name of a map under the contexts map of a template
* @return the parsed context type
*/
T parse(String menuName, String input);
}