public class MinecraftTranslationRegistry extends Object implements net.kyori.adventure.translation.Translator
| Constructor and Description |
|---|
MinecraftTranslationRegistry() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull net.kyori.adventure.key.Key |
name() |
@Nullable MessageFormat |
translate(@NonNull String key,
@NonNull Locale locale) |
public @NonNull net.kyori.adventure.key.Key name()
name in interface net.kyori.adventure.translation.Translatorpublic @Nullable MessageFormat translate(@NonNull String key, @NonNull Locale locale)
translate in interface net.kyori.adventure.translation.TranslatorCopyright © 2020 GeyserMC. All rights reserved.