Class ComponentUtils

java.lang.Object
org.core.utils.ComponentUtils

public final class ComponentUtils extends Object
  • Method Details

    • toPlain

      public static String toPlain​(@NotNull @NotNull net.kyori.adventure.text.Component component)
    • toGson

      public static String toGson​(@NotNull @NotNull net.kyori.adventure.text.Component component)
    • toLegacy

      public static String toLegacy​(@NotNull @NotNull net.kyori.adventure.text.Component component)
    • fromGson

      public static net.kyori.adventure.text.Component fromGson​(@NotNull @NotNull String message)
    • fromPlain

      public static net.kyori.adventure.text.Component fromPlain​(@NotNull @NotNull String message)
    • fromLegacy

      public static net.kyori.adventure.text.TextComponent fromLegacy​(@NotNull @NotNull String message)