BetterText exlText = new BetterText(List.of(
"excellent",
"pisisisis",
"yougameik"
), 2500);
private void ExcellentWatermarka(MatrixStack matrixStack) {
float x = 5, y = 5;
int firstColor = ColorUtil.getColorStyle(0);
int secondColor = ColorUtil.getColorStyle(90);
int firstColor1 = ColorUtil.getColorStyle(0) * getAlpha(200);
int secondColor1 = ColorUtil.getColorStyle(90) * getAlpha(200);
final float width = Math.max(80, Fonts.exl[16].getWidth(exlText.output) + 40);
final float height = 20;
RenderUtil.Render2D.drawGradientRound(4.4f,7f,width - 2,height - 1.6f,2,firstColor,secondColor,ColorUtil.getColorStyle(180),ColorUtil.getColorStyle(270));
RenderUtil.Render2D.drawRoundedRect(5,5,width,height,2,ColorUtil.rgba(255,255,255,225));
RenderUtil.Render2D.drawShadow(5f,5f,width - 1,height - 4.6f,2,firstColor1,secondColor1,ColorUtil.getColorStyle(180) * getAlpha(200),ColorUtil.getColorStyle(270) * getAlpha(200));
Fonts.exl[16].drawCenteredString(matrixStack, exlText.output, 27,17.5,ColorUtil.rgba(0,0,0,250));
Fonts.exl[20].drawCenteredString(matrixStack, "EXCELLENT " + IMinecraft.mc.debugFPS + "ФПС", 44.8f,8.7,ColorUtil.rgba(0,0,0,250));
}