Class ColorUtils

java.lang.Object
ru.cwcode.cwutils.colors.ColorUtils

public class ColorUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<String>
     
    static boolean
    isColor(String color)
     
    static net.kyori.adventure.text.format.TextColor
    lerpManyColors(float lerp, net.kyori.adventure.text.format.TextColor... colors)
    Не работает с новыми версиями Adventure (с тех пор, как удалили TextColor.lerp)
    static @NotNull net.kyori.adventure.text.format.TextColor
    lerpManyColors(int i, float sectionLen, net.kyori.adventure.text.format.TextColor... colors)
    Не работает с новыми версиями Adventure (с тех пор, как удалили TextColor.lerp)

    Methods inherited from class java.lang.Object

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

    • ColorUtils

      public ColorUtils()
  • Method Details

    • lerpManyColors

      @NotNull public static @NotNull net.kyori.adventure.text.format.TextColor lerpManyColors(int i, float sectionLen, net.kyori.adventure.text.format.TextColor... colors)
      Не работает с новыми версиями Adventure (с тех пор, как удалили TextColor.lerp)
    • lerpManyColors

      public static net.kyori.adventure.text.format.TextColor lerpManyColors(float lerp, net.kyori.adventure.text.format.TextColor... colors)
      Не работает с новыми версиями Adventure (с тех пор, как удалили TextColor.lerp)
    • isColor

      public static boolean isColor(String color)
    • getColors

      public static List<String> getColors()