Исходник Water Mark | Expensive 3.1

Начинающий
Статус
Оффлайн
Регистрация
9 Дек 2023
Сообщения
113
Реакции[?]
1
Поинты[?]
0

Перед прочтением основного контента ниже, пожалуйста, обратите внимание на обновление внутри секции Майна на нашем форуме. У нас появились:

  • бесплатные читы для Майнкрафт — любое использование на свой страх и риск;
  • маркетплейс Майнкрафт — абсолютно любая коммерция, связанная с игрой, за исключением продажи читов (аккаунты, предоставления услуг, поиск кодеров читов и так далее);
  • приватные читы для Minecraft — в этом разделе только платные хаки для игры, покупайте группу "Продавец" и выставляйте на продажу свой софт;
  • обсуждения и гайды — всё тот же раздел с вопросами, но теперь модернизированный: поиск нужных хаков, пати с игроками-читерами и другая полезная информация.

Спасибо!

Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: 1721457257335.png
 
Начинающий
Статус
Оффлайн
Регистрация
21 Окт 2022
Сообщения
243
Реакции[?]
1
Поинты[?]
2K
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
Гдето я это видел
 
Забаненный
Статус
Оффлайн
Регистрация
31 Авг 2023
Сообщения
699
Реакции[?]
6
Поинты[?]
5K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
еще одно доказательство почему нужно удалить этот раздел
 
Начинающий
Статус
Оффлайн
Регистрация
21 Дек 2022
Сообщения
68
Реакции[?]
0
Поинты[?]
0
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
Пожалуйста, удали аккаунт на этом форуме
 
Начинающий
Статус
Оффлайн
Регистрация
10 Ноя 2023
Сообщения
120
Реакции[?]
0
Поинты[?]
0
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
пизда это такая залупа
 
Начинающий
Статус
Оффлайн
Регистрация
22 Авг 2022
Сообщения
331
Реакции[?]
3
Поинты[?]
3K
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
ужас
 
Начинающий
Статус
Оффлайн
Регистрация
3 Май 2024
Сообщения
182
Реакции[?]
0
Поинты[?]
0
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
вау как пенисто
 
Начинающий
Статус
Оффлайн
Регистрация
9 Дек 2023
Сообщения
113
Реакции[?]
1
Поинты[?]
0
Последнее редактирование:
Read Only
Статус
Оффлайн
Регистрация
19 Июл 2024
Сообщения
207
Реакции[?]
0
Поинты[?]
0
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
фу блять
 
Начинающий
Статус
Оффлайн
Регистрация
11 Дек 2023
Сообщения
23
Реакции[?]
0
Поинты[?]
1K
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
таких уже 100 ватермарок сливали, зачем
 
Read Only
Статус
Оффлайн
Регистрация
19 Июл 2024
Сообщения
207
Реакции[?]
0
Поинты[?]
0
minced client
Read Only
Статус
Оффлайн
Регистрация
8 Май 2022
Сообщения
616
Реакции[?]
61
Поинты[?]
2K
Сливаю мне не нужную ватер марку кому нужно разбирайте
Waterkmark:
package im.expensive.ui.display.impl;

import com.mojang.blaze3d.matrix.MatrixStack;
import im.expensive.Expensive;
import im.expensive.events.EventDisplay;
import im.expensive.ui.display.ElementRenderer;
import im.expensive.ui.styles.Style;
import im.expensive.utils.render.ColorUtils;
import im.expensive.utils.render.DisplayUtils;
import im.expensive.utils.render.KawaseBlur;
import im.expensive.utils.render.font.Fonts;
import im.expensive.utils.text.GradientUtil;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.experimental.FieldDefaults;
import net.minecraft.client.Minecraft;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.text.SimpleDateFormat;
import java.util.Date;

@FieldDefaults(level = AccessLevel.PRIVATE)
@RequiredArgsConstructor
public class WatermarkRenderer implements ElementRenderer {

    final Minecraft mc = Minecraft.getInstance();
    final ResourceLocation logo = new ResourceLocation("expensive/images/hud/logo.png");
    final ResourceLocation user = new ResourceLocation("expensive/images/hud/user.png");
    //final ResourceLocation timeIcon = new ResourceLocation("expensive/images/hud/time.png");
    final ResourceLocation fpsIcon = new ResourceLocation("expensive/images/hud/graph.png");

    @Override
    public void render(EventDisplay eventDisplay) {
        MatrixStack ms = eventDisplay.getMatrixStack();
        float posX = 5;
        float posY = 4;
        float padding = 5;
        float fontSize = 7.0f;
        float iconSize = 10;
        float posX1 = 65;
        float posY1 = 4;
        final ITextComponent text = GradientUtil.gradient("Alpha");
        Style style = Expensive.getInstance().getStyleManager().getCurrentStyle();
        drawStyledRect(posX * 1.6f, posY, iconSize + padding * 7.0f, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(logo, posX * 1.0f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 16.5f, posY + 2,  1.9f, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawCenteredText(ms, text, posX + 31.5f, posY + 3.80f, fontSize);

        final ITextComponent timeText = GradientUtil.white("deddelal");
        float timeTextWidth = Fonts.sfbold.getWidth(timeText, fontSize);
        float userPosX = posX1;

        drawStyledRect(userPosX * 0.95f, posY1, iconSize + padding * 9.3f + timeTextWidth, iconSize + padding * 0.8f, 2);
        DisplayUtils.drawImage(user, userPosX * 0.90f + padding, posY1 * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 70.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, timeText, userPosX * 0.97f + iconSize + padding * 1, posY1 * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);



        int fps = mc.getDebugFPS();
        ITextComponent fpsText = GradientUtil.white(String.valueOf(fps));
        float fpsTextWidth = Fonts.sfbold.getWidth(fpsText, fontSize);
        float fpsPosX = posX + iconSize + padding * 3;
        if (fps >= 100 && fps <= 999) {
            posX1 += 5;
        }

        DisplayUtils.drawImage(fpsIcon, fpsPosX * 3.81f + padding, posY * 0.07f + padding, iconSize, iconSize, ColorUtils.getColor(0));
        DisplayUtils.drawRectVerticalW(posX + 112.0f, posY + 2,  1.9, 10.0f, 3, ColorUtils.rgba(69, 69, 69, (int) (255 * 0.75f)));
        Fonts.sfbold.drawText(ms, fpsText, fpsPosX * 3.85f + iconSize + padding * 1.5f, posY * 0.17f + iconSize / 2 + 1.5f, fontSize, 255);


    }



    private void drawStyledRect(float x, float y, float width, float height, float radius) {
        // DisplayUtils.drawRoundedRect(x - 0.5f, y - 0.5f, width + 1, height + 1, radius + 0.5f, ColorUtils.getColor(0)); // outline
        DisplayUtils.drawRoundedRect(x, y, width, height, radius, ColorUtils.rgba(12, 12, 12, 225));
    }
}
ss: Посмотреть вложение 281531
Фу нахуй как убого выглядит
 
Сверху Снизу