Class Utils

java.lang.Object
ru.cwcode.tkach.refreshmenu.Utils

public class Utils extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static ru.cwcode.tkach.locale.platform.MessagePreprocessor
     
    static ru.cwcode.tkach.locale.wrapper.adventure.MiniMessageWrapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.kyori.adventure.text.Component
    deserialize​(String string, ru.cwcode.tkach.locale.Placeholders placeholders, net.kyori.adventure.audience.Audience viewer, boolean disableItalic)
     
    static List<net.kyori.adventure.text.Component>
    deserialize​(List<String> strings, ru.cwcode.tkach.locale.Placeholders placeholders, net.kyori.adventure.audience.Audience viewer, boolean disableItalic)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MESSAGE_PREPROCESSOR

      public static final ru.cwcode.tkach.locale.platform.MessagePreprocessor MESSAGE_PREPROCESSOR
    • MINI_MESSAGE_WRAPPER

      public static final ru.cwcode.tkach.locale.wrapper.adventure.MiniMessageWrapper MINI_MESSAGE_WRAPPER
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • deserialize

      public static net.kyori.adventure.text.Component deserialize(String string, ru.cwcode.tkach.locale.Placeholders placeholders, net.kyori.adventure.audience.Audience viewer, boolean disableItalic)
    • deserialize

      public static List<net.kyori.adventure.text.Component> deserialize(List<String> strings, ru.cwcode.tkach.locale.Placeholders placeholders, net.kyori.adventure.audience.Audience viewer, boolean disableItalic)