Package dev.booky.cloudcore.util
Class TranslationLoader
java.lang.Object
dev.booky.cloudcore.util.TranslationLoader
- All Implemented Interfaces:
net.kyori.adventure.translation.Translator
@NullMarked
@Deprecated(forRemoval=true)
public final class TranslationLoader
extends Object
implements net.kyori.adventure.translation.Translator
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionTranslationLoader(org.bukkit.plugin.Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version.TranslationLoader(org.bukkit.plugin.Plugin plugin, Locale... locales) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.util.TriStateDeprecated, for removal: This API element is subject to removal in a future version.voidload()Deprecated, for removal: This API element is subject to removal in a future version.voidload0()Deprecated, for removal: This API element is subject to removal in a future version.net.kyori.adventure.key.Keyname()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable MessageFormatDeprecated, for removal: This API element is subject to removal in a future version.@Nullable net.kyori.adventure.text.ComponentDeprecated, for removal: This API element is subject to removal in a future version.voidunload()Deprecated, for removal: This API element is subject to removal in a future version.voidunload0()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.translation.Translator
canTranslate
-
Constructor Details
-
TranslationLoader
public TranslationLoader(org.bukkit.plugin.Plugin plugin) Deprecated, for removal: This API element is subject to removal in a future version. -
TranslationLoader
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
unload
public void unload()Deprecated, for removal: This API element is subject to removal in a future version. -
unload0
Deprecated, for removal: This API element is subject to removal in a future version. -
load
Deprecated, for removal: This API element is subject to removal in a future version. -
load0
public void load0()Deprecated, for removal: This API element is subject to removal in a future version. -
name
public net.kyori.adventure.key.Key name()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
namein interfacenet.kyori.adventure.translation.Translator
-
hasAnyTranslations
public net.kyori.adventure.util.TriState hasAnyTranslations()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasAnyTranslationsin interfacenet.kyori.adventure.translation.Translator
-
translate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
translatein interfacenet.kyori.adventure.translation.Translator
-
translate
public @Nullable net.kyori.adventure.text.Component translate(net.kyori.adventure.text.TranslatableComponent component, Locale locale) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
translatein interfacenet.kyori.adventure.translation.Translator
-