Class Translator

java.lang.Object
com.palmergames.bukkit.towny.object.Translator

@DefaultQualifier(org.jetbrains.annotations.NotNull.class) public class Translator extends Object
  • Constructor Details

    • Translator

      public Translator(Locale locale)
  • Method Details

    • locale

      public static Translator locale(Locale locale)
    • locale

      public static Translator locale(org.bukkit.command.CommandSender sender)
    • of

      public String of(String key)
    • of

      public String of(String key, Object... args)
    • component

      public net.kyori.adventure.text.Component component(String key)
    • component

      public net.kyori.adventure.text.Component component(String key, Object... args)