Skid Watermark Excellent Client

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
3 Сен 2023
Сообщения
333
Реакции
5
екселента - секселент.PNG

мое - моеец.PNG


Java:
Expand Collapse Copy
BetterText exlText = new BetterText(List.of(
        "excellent",
        "pisisisis",
        "yougameik"
), 2000);

private void ExcellentWatermarka(MatrixStack matrixStack) {

    float x = 5, y = 5;

    int firstColor = ColorUtil.getColorStyle(0);
    int secondColor = ColorUtil.getColorStyle(90);

    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,firstColor,secondColor,ColorUtil.getColorStyle(180),ColorUtil.getColorStyle(270));

    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));
}

шрифт -
Пожалуйста, авторизуйтесь для просмотра ссылки.


в Fonts.java добавляем
public static volatile StyledFont[] exl = new StyledFont[27];
а так - же
for (int i = 8; i < 27;i++) {
exl = new StyledFont("small_pixel.ttf", i, 0.0f, 0.0f, 0.0f, true, Lang.ENG_RU);
}
и теперь вы очень крутые ребята
upd
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
1711465914564.png
:roflanEbalo:
 
нормасик :roflanEbalo:
 
екселента - Посмотреть вложение 273419

мое - Посмотреть вложение 273420


Java:
Expand Collapse Copy
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));
    }
Бэкграунд идет под тему ?
 
и шрифт какой если не секрет.
 
екселента - Посмотреть вложение 273419

мое - Посмотреть вложение 273420


Java:
Expand Collapse Copy
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));
    }
Шрифт какой?
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
екселента - Посмотреть вложение 273419

мое - Посмотреть вложение 273420


Java:
Expand Collapse Copy
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));
    }
сделай белый бекграунд чуть-чуть прозрачнее, чтобы цвет доходил, и будет очень круто!
 
Назад
Сверху Снизу