Class FusionEditorCommand
java.lang.Object
studio.magemonkey.fusion.commands.FusionEditorCommand
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter
public class FusionEditorCommand
extends Object
implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPatternFlags(Editor editor, String[] args) voidaddRecipeIconCommand(ProfessionEditor professionEditor, String[] args) voidaddRecipeIconEnchants(ProfessionEditor professionEditor, String[] args) voidaddRecipeIconFlags(ProfessionEditor professionEditor, String[] args) voidaddRecipeIconLore(ProfessionEditor professionEditor, String[] args) booleanonCommand(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) onTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) static voidremoveEditorCriteria(UUID uuid) static voidsuggestUsage(org.bukkit.entity.Player player, EditorCriteria criteria, String suggestCommand) voidupdateRecipeIconColor(ProfessionEditor professionEditor, String[] args) voidupdateRecipeIconName(ProfessionEditor professionEditor, String[] args)
-
Constructor Details
-
FusionEditorCommand
public FusionEditorCommand()
-
-
Method Details
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args) - Specified by:
onCommandin interfaceorg.bukkit.command.CommandExecutor
-
onTabComplete
@Nullable public @Nullable List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args) - Specified by:
onTabCompletein interfaceorg.bukkit.command.TabCompleter
-
suggestUsage
public static void suggestUsage(org.bukkit.entity.Player player, EditorCriteria criteria, String suggestCommand) -
addPatternFlags
-
updateRecipeIconName
-
addRecipeIconLore
-
addRecipeIconFlags
-
updateRecipeIconColor
-
addRecipeIconCommand
-
addRecipeIconEnchants
-
removeEditorCriteria
-