Package com.earth2me.essentials.commands
Class Commandrecipe
java.lang.Object
com.earth2me.essentials.commands.EssentialsCommand
com.earth2me.essentials.commands.Commandrecipe
- All Implemented Interfaces:
IEssentialsCommand
-
Field Summary
Fields inherited from class com.earth2me.essentials.commands.EssentialsCommand
COMMON_DATE_DIFFS, COMMON_DURATIONS, ess, module
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
furnaceRecipe
(CommandSource sender, FurnaceRecipe recipe) getMaterialName
(CommandSource sender, ItemStack stack) getMaterialName
(CommandSource sender, Material type) getTabCompleteOptions
(Server server, CommandSource sender, String commandLabel, String[] args) void
run
(Server server, CommandSource sender, String commandLabel, String[] args) void
shapedRecipe
(CommandSource sender, ShapedRecipe recipe, boolean showWindow) void
shapelessRecipe
(CommandSource sender, ShapelessRecipe recipe, boolean showWindow) Methods inherited from class com.earth2me.essentials.commands.EssentialsCommand
getCommands, getFinalArg, getItems, getMatchingItems, getName, getNewExceptionFuture, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayer, getPlayers, getPlayers, getPlugins, getTabCompleteOptions, getUsageStrings, run, run, run, setEssentials, setEssentialsModule, showError, tabComplete, tabComplete, tabCompleteCommand
-
Constructor Details
-
Commandrecipe
public Commandrecipe()
-
-
Method Details
-
run
public void run(Server server, CommandSource sender, String commandLabel, String[] args) throws Exception - Overrides:
run
in classEssentialsCommand
- Throws:
Exception
-
furnaceRecipe
-
shapedRecipe
-
shapelessRecipe
-
getMaterialName
-
getMaterialName
-
getTabCompleteOptions
protected List<String> getTabCompleteOptions(Server server, CommandSource sender, String commandLabel, String[] args) - Overrides:
getTabCompleteOptions
in classEssentialsCommand
-