Package dev.linwood.itemmods.action
Interface CommandAction
-
- All Known Subinterfaces:
SubCommandAction
,TranslationCommandAction
- All Known Implementing Classes:
BlockAction
,BlocksAction
,DataAction
,InactivePacksAction
,ItemAction
,ItemsAction
,KnowledgeAction
,LocalesAction
,MainAction
,ModelAction
,ModelsAction
,PackAction
,PacksAction
,TemplateAction
,TextureAction
,TexturesAction
public interface CommandAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getTranslation(java.lang.String key, java.lang.Object... placeholders)
default boolean
handleCommand(org.bukkit.command.CommandSender sender, java.lang.String[] args)
boolean
hasTranslation(java.lang.String key)
default boolean
showGui(org.bukkit.command.CommandSender sender)
default java.lang.String[]
tabComplete(org.bukkit.command.CommandSender sender, java.lang.String[] args)
-
-
-
Method Detail
-
showGui
default boolean showGui(org.bukkit.command.CommandSender sender)
-
handleCommand
default boolean handleCommand(org.bukkit.command.CommandSender sender, java.lang.String[] args)
-
tabComplete
default java.lang.String[] tabComplete(org.bukkit.command.CommandSender sender, java.lang.String[] args)
-
getTranslation
java.lang.String getTranslation(java.lang.String key, java.lang.Object... placeholders)
-
hasTranslation
boolean hasTranslation(java.lang.String key)
-
-