Package dev.linwood.itemmods.action
Interface TranslationCommandAction
-
- All Superinterfaces:
CommandAction
- All Known Implementing Classes:
BlockAction
,BlocksAction
,DataAction
,InactivePacksAction
,ItemAction
,ItemsAction
,KnowledgeAction
,LocalesAction
,MainAction
,ModelAction
,ModelsAction
,PackAction
,PacksAction
,TemplateAction
,TextureAction
,TexturesAction
public interface TranslationCommandAction extends CommandAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getTranslation(String key, Object... placeholders)
dev.linwood.api.translations.Translation
getTranslationNamespace()
default boolean
hasTranslation(String key)
-
Methods inherited from interface dev.linwood.itemmods.action.CommandAction
handleCommand, showGui, tabComplete
-
-
-
-
Method Detail
-
getTranslationNamespace
dev.linwood.api.translations.Translation getTranslationNamespace()
-
getTranslation
default String getTranslation(String key, Object... placeholders)
- Specified by:
getTranslation
in interfaceCommandAction
-
hasTranslation
default boolean hasTranslation(String key)
- Specified by:
hasTranslation
in interfaceCommandAction
-
-