Class ComponentUtil

java.lang.Object
com.ticxo.modelengine.api.utils.data.ComponentUtil

public class ComponentUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.md_5.bungee.api.chat.BaseComponent[]
    base(net.kyori.adventure.text.Component component)
     
    static net.kyori.adventure.text.format.Style
    color(int color)
     
    static net.kyori.adventure.text.format.Style
    color(net.kyori.adventure.text.format.TextColor color)
     
    static net.kyori.adventure.text.format.Style
     
    static void
    sendMessage(org.bukkit.entity.Player player, net.kyori.adventure.text.Component component)
     
    static String
    string(net.kyori.adventure.text.Component component)
     

    Methods inherited from class java.lang.Object

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

    • ComponentUtil

      public ComponentUtil()
  • Method Details

    • reset

      public static net.kyori.adventure.text.format.Style reset()
    • color

      public static net.kyori.adventure.text.format.Style color(int color)
    • color

      public static net.kyori.adventure.text.format.Style color(net.kyori.adventure.text.format.TextColor color)
    • string

      public static String string(net.kyori.adventure.text.Component component)
    • base

      public static net.md_5.bungee.api.chat.BaseComponent[] base(net.kyori.adventure.text.Component component)
    • sendMessage

      public static void sendMessage(org.bukkit.entity.Player player, net.kyori.adventure.text.Component component)