Paint (float x1, float y1, @NotNull Color c1, float x2, float y2, @NotNull Color c2) { return Registry.is("ui.no.bangs.and.whistles", false) ? ColorUtil.mix(c1, c2, .5) : new GradientPaint(x1, y1, c1, x2, y2, c2); }