Interface TranslationManager

All Superinterfaces:
Manager
All Known Implementing Classes:
YamlTranslation

public interface TranslationManager extends Manager
  • Method Details

    • getTranslations

      @NotNull @NotNull List<Translation> getTranslations()
    • getTranslation

      @Nullable @Nullable Translation getTranslation(@NotNull @NotNull String lang)
    • hasLocaleComponent

      boolean hasLocaleComponent(@NotNull @NotNull String id, @NotNull @NotNull String lang)
    • getLocaleComponent

      @NotNull @NotNull net.kyori.adventure.text.Component getLocaleComponent(@NotNull @NotNull String id, @NotNull @NotNull String lang)
    • getLocaleComponent

      @NotNull @NotNull net.kyori.adventure.text.Component getLocaleComponent(@NotNull @NotNull String id, @NotNull @NotNull String lang, @NotNull @NotNull net.kyori.adventure.text.Component def)
    • getLocaleComponent

      @NotNull @NotNull net.kyori.adventure.text.Component getLocaleComponent(@NotNull @NotNull String id, @NotNull @NotNull org.bukkit.OfflinePlayer player)
    • getLocaleComponent

      @NotNull @NotNull net.kyori.adventure.text.Component getLocaleComponent(@NotNull @NotNull String id, @NotNull @NotNull org.bukkit.OfflinePlayer player, @NotNull @NotNull net.kyori.adventure.text.Component def)