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 java.lang.String
getTranslation(java.lang.String key, java.lang.Object... placeholders)
dev.linwood.api.translations.Translation
getTranslationNamespace()
default boolean
hasTranslation(java.lang.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 java.lang.String getTranslation(java.lang.String key, java.lang.Object... placeholders)
- Specified by:
getTranslation
in interfaceCommandAction
-
hasTranslation
default boolean hasTranslation(java.lang.String key)
- Specified by:
hasTranslation
in interfaceCommandAction
-
-