Package dev.linwood.itemmods.action
Class LocalesAction
- java.lang.Object
-
- dev.linwood.itemmods.action.LocalesAction
-
- All Implemented Interfaces:
CommandAction
,TranslationCommandAction
public class LocalesAction extends java.lang.Object implements TranslationCommandAction
-
-
Constructor Summary
Constructors Constructor Description LocalesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.linwood.api.translations.Translation
getTranslationNamespace()
boolean
handleCommand(org.bukkit.command.CommandSender sender, java.lang.String[] args)
void
selectLocale(java.lang.String locale)
boolean
showGui(org.bukkit.command.CommandSender sender)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface dev.linwood.itemmods.action.CommandAction
tabComplete
-
Methods inherited from interface dev.linwood.itemmods.action.TranslationCommandAction
getTranslation, hasTranslation
-
-
-
-
Method Detail
-
handleCommand
public boolean handleCommand(org.bukkit.command.CommandSender sender, java.lang.String[] args)
- Specified by:
handleCommand
in interfaceCommandAction
-
selectLocale
public void selectLocale(java.lang.String locale)
-
showGui
public boolean showGui(org.bukkit.command.CommandSender sender)
- Specified by:
showGui
in interfaceCommandAction
-
getTranslationNamespace
public dev.linwood.api.translations.Translation getTranslationNamespace()
- Specified by:
getTranslationNamespace
in interfaceTranslationCommandAction
-
-