From c1fd719b76eb510347dad1cd30a5204ee58d67d1 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Thu, 23 Dec 2021 09:19:12 -0500 Subject: [PATCH] Rename the BackgroundHelper class to ColorHelper (#2915) * Rename the BackgroundHelper class to ColorHelper Fixes #2907 * Move the ColorHelper class to the net.minecraft.util.math package * Rename the ColorHelper.ColorMixer class to Argb Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> --- .../math/ColorHelper.mapping} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename mappings/net/minecraft/{client/gui/hud/BackgroundHelper.mapping => util/math/ColorHelper.mapping} (77%) diff --git a/mappings/net/minecraft/client/gui/hud/BackgroundHelper.mapping b/mappings/net/minecraft/util/math/ColorHelper.mapping similarity index 77% rename from mappings/net/minecraft/client/gui/hud/BackgroundHelper.mapping rename to mappings/net/minecraft/util/math/ColorHelper.mapping index d7057813c0..dd0af6fbcd 100644 --- a/mappings/net/minecraft/client/gui/hud/BackgroundHelper.mapping +++ b/mappings/net/minecraft/util/math/ColorHelper.mapping @@ -1,5 +1,5 @@ -CLASS net/minecraft/class_5253 net/minecraft/client/gui/hud/BackgroundHelper - CLASS class_5254 ColorMixer +CLASS net/minecraft/class_5253 net/minecraft/util/math/ColorHelper + CLASS class_5254 Argb METHOD method_27762 getAlpha (I)I ARG 0 argb METHOD method_27763 mixColor (II)I