Klasse Colors

java.lang.Object
gollorum.signpost.minecraft.gui.utils.Colors

public class Colors extends Object
  • Felddetails

  • Konstruktordetails

    • Colors

      public Colors()
  • Methodendetails

    • withAlpha

      public static int withAlpha(int color, int alpha)
    • withRed

      public static int withRed(int color, int red)
    • withGreen

      public static int withGreen(int color, int green)
    • withBlue

      public static int withBlue(int color, int blue)
    • withAlpha

      public static int withAlpha(int color, Function<Integer,Integer> alphaMapping)
    • withRed

      public static int withRed(int color, Function<Integer,Integer> redMapping)
    • withGreen

      public static int withGreen(int color, Function<Integer,Integer> greenMapping)
    • withBlue

      public static int withBlue(int color, Function<Integer,Integer> blueMapping)
    • map

      public static int map(int color, Function<Integer,Integer> mapping)
    • from

      public static int from(int red, int green, int blue)
    • from

      public static int from(int red, int green, int blue, int alpha)
    • getAlpha

      public static int getAlpha(int color)
    • getRed

      public static int getRed(int color)
    • getGreen

      public static int getGreen(int color)
    • getBlue

      public static int getBlue(int color)
    • mul

      public static int mul(int c1, int c2)
    • wrap

      public static net.minecraft.network.chat.MutableComponent wrap(String text, int color)
    • wrap

      public static net.minecraft.network.chat.MutableComponent wrap(net.minecraft.network.chat.MutableComponent text, int color)