Convert color class (#947)

Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
RanzuandMartin Robertz authored and GitHub committed 2026-06-16 10:21:20 +02:00
1 parent 937c1858a4
commit 860011036b
14 files changed
+83 -52

No files matched your search

@@ -45,15 +45,14 @@ public class GuiNEIButton extends GuiButton {
}
protected int getTextColour(boolean mouseOver) {
int color = 0xe0e0e0;
if (!enabled) {
color = 0xffa0a0a0;
return ColorUtils.buttonLabelInactive.getColor();
} else if (mouseOver) {
color = 0xffffa0;
return ColorUtils.buttonLabelHover.getColor();
}
return color;
return ColorUtils.buttonLabelNormal.getColor();
}
protected void drawContent(Minecraft minecraft, int y, int x, boolean mouseOver) {