Class BackgroundHelper.ColorMixer

java.lang.Object
net.minecraft.client.gui.hud.BackgroundHelper.ColorMixer
Enclosing class:
BackgroundHelper

public static class BackgroundHelper.ColorMixer
extends Object
Mappings:
Namespace Name
official afr$a
intermediary net/minecraft/class_5253$class_5254
named net/minecraft/client/gui/hud/BackgroundHelper$ColorMixer
  • Constructor Details

    • ColorMixer

      public ColorMixer()
  • Method Details

    • getAlpha

      @Environment(CLIENT) public static int getAlpha​(int argb)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr$a;a(I)I
      intermediary method_27762 Lnet/minecraft/class_5253$class_5254;method_27762(I)I
      named getAlpha Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;getAlpha(I)I
    • getRed

      public static int getRed​(int argb)
      Mappings:
      Namespace Name Mixin selector
      official b Lafr$a;b(I)I
      intermediary method_27765 Lnet/minecraft/class_5253$class_5254;method_27765(I)I
      named getRed Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;getRed(I)I
    • getGreen

      public static int getGreen​(int argb)
      Mappings:
      Namespace Name Mixin selector
      official c Lafr$a;c(I)I
      intermediary method_27766 Lnet/minecraft/class_5253$class_5254;method_27766(I)I
      named getGreen Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;getGreen(I)I
    • getBlue

      public static int getBlue​(int argb)
      Mappings:
      Namespace Name Mixin selector
      official d Lafr$a;d(I)I
      intermediary method_27767 Lnet/minecraft/class_5253$class_5254;method_27767(I)I
      named getBlue Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;getBlue(I)I
    • getArgb

      @Environment(CLIENT) public static int getArgb​(int alpha, int red, int green, int blue)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr$a;a(IIII)I
      intermediary method_27764 Lnet/minecraft/class_5253$class_5254;method_27764(IIII)I
      named getArgb Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;getArgb(IIII)I
    • mixColor

      @Environment(CLIENT) public static int mixColor​(int first, int second)
      Mappings:
      Namespace Name Mixin selector
      official a Lafr$a;a(II)I
      intermediary method_27763 Lnet/minecraft/class_5253$class_5254;method_27763(II)I
      named mixColor Lnet/minecraft/client/gui/hud/BackgroundHelper$ColorMixer;mixColor(II)I