Исходник Слив горе-ватермарок / Expensive 2.0

Начинающий
Статус
Оффлайн
Регистрация
17 Май 2023
Сообщения
221
Реакции[?]
2
Поинты[?]
1K
скиддил все ватермарки которые когда либо были в нурсултане, все что нашел решил сделать, потом стало лень искать шрифты, что то делать ну и забил, надеюсь не кому не надо
nursultan:
@FunctionAnnotation(name = "глюкозка", type = Type.Render)
public class NursultanSelfcode extends Function {

    /* Туда-сюда — и селфкодер, я легко делаю пасты
    Никогда не был на югейме, они меня не запастят
    У меня деньги на клиенте — заблокированы пастеры
    Я могу дать пару сурсов, я селфкодер, я не пастер */

    private final ModeSetting modeSetting = new ModeSetting("Выбор ватермарки", "One", "One", "Two", "Three", "Four", "Five");


    public NursultanSelfcode(){
        addSettings(modeSetting);
    }

    @Override
    public void onEvent(Event event) {
        if (mc.player == null || mc.world == null) return;
        if (event instanceof EventRender e && e.isRender2D()) {
            final MatrixStack matrixStack = e.matrixStack;
            if (modeSetting.is("One")) oneNursultan(matrixStack);
            if (modeSetting.is("Two")) twoNursultan(matrixStack);
            if (modeSetting.is("Three")) threeNursultan(matrixStack);
            if (modeSetting.is("Four")) fourNursultan(matrixStack);
            if (modeSetting.is("Five")) fiveNursultan(matrixStack);
        }
    }

    final Dragging watermark = Initilization.createDrag(this, "Watermark", 5, 5);
    public String name_client = "Nursultan";
    public String version_client = "v3.33";


    private void oneNursultan(MatrixStack matrixStack) {

        float x = watermark.getX();
        float y = watermark.getY();

        String server = "";
        if (this.mc.isSingleplayer()) {
            server = "localhost";
        } else if (mc.getCurrentServerData() != null) {
            server = mc.getCurrentServerData().serverIP.toLowerCase();
        }

        String text = (name_client + " | " + server + " | " + HudUtil.calculatePing() + "ms | " + mc.debugFPS + "fps").toLowerCase();
        RenderUtil.Render2D.drawRect(x, y, Fonts.msSemiBold[13].getWidth(text) + 4,12, ColorUtil.getColor(32,32,32,255));
        RenderUtil.Render2D.drawRect(x, y, Fonts.msSemiBold[13].getWidth(text) + 4,2, ColorUtil.getColorStyle(0));
        Fonts.msSemiBold[13].drawString(matrixStack, text, x + 2, y + 5.5f, -1);

        watermark.setWidth(Fonts.msSemiBold[13].getWidth(text) + 4);
        watermark.setHeight(15);
    }

    private void twoNursultan(MatrixStack matrixStack) {
        float x = watermark.getX();
        float y = watermark.getY();
        BloomHelper.registerRenderCall(() -> {
            Fonts.nursultanTwo[24].drawString(matrixStack, ClientUtil.gradient(name_client,ColorUtil.getColorStyle(0), ColorUtil.getColorStyle(90)), x, y, -1);
        });
        BloomHelper.draw(10, 1f, true);
        Fonts.nursultanTwo[24].drawString(matrixStack, ClientUtil.gradient(name_client,ColorUtil.getColorStyle(0), ColorUtil.getColorStyle(90)), x, y, -1);
        watermark.setWidth(Fonts.nursultanTwo[24].getWidth(name_client));
        watermark.setHeight(15);
    }

    private void threeNursultan(MatrixStack matrixStack) {
        float x = watermark.getX();
        float y = watermark.getY();

        String text = (name_client + " | " + "delay - " + HudUtil.calculatePing() + "ms" + " | " + version_client).toLowerCase();

        final Vector4i colorVec = new Vector4i(
                ColorUtil.getColorStyle(0),
                ColorUtil.getColorStyle(90),
                ColorUtil.getColorStyle(180),
                ColorUtil.getColorStyle(270)
        );

        StencilUtil.initStencilToWrite();
        RenderUtil.Render2D.drawRoundedRect(x,y,Fonts.rubik[15].getWidth(text) + 4,9.5f, 3,-1);
        StencilUtil.readStencilBuffer(0);
        RenderUtil.Render2D.drawShadow(x,y, Fonts.rubik[15].getWidth(text) + 4,9.5f, 20, colorVec.z, colorVec.x, colorVec.y, colorVec.w);
        RenderUtil.Render2D.drawShadow(x,y, Fonts.rubik[15].getWidth(text) + 4,9.5f, 20, colorVec.z, colorVec.x, colorVec.y, colorVec.w);
        RenderUtil.Render2D.drawGradientRound(x,y, Fonts.rubik[15].getWidth(text) + 4,9.5f, 3, colorVec.y, colorVec.w, colorVec.x, colorVec.z);
        StencilUtil.uninitStencilBuffer();

        GaussianBlur.startBlur();
        RenderUtil.Render2D.drawRoundedRect(x,y,Fonts.rubik[15].getWidth(text) + 4,9.5f, 3,-1);
        GaussianBlur.endBlur(20, 1);

        Fonts.rubik[15].drawString(matrixStack, text, x + 2, y + 3.5f, -1);
        watermark.setWidth(Fonts.rubik[16].getWidth(text) + 4);
        watermark.setHeight(10);
    }

    private void fourNursultan(MatrixStack matrixStack) {
        float x = watermark.getX();
        float y = watermark.getY();

        String text = (name_client + " | " + "delay - " + HudUtil.calculatePing() + "ms" + " | " + version_client).toLowerCase();

        final Vector4i colorVec = new Vector4i(
                ColorUtil.getColorStyle(0),
                ColorUtil.getColorStyle(90),
                ColorUtil.getColorStyle(180),
                ColorUtil.getColorStyle(270)
        );

        RenderUtil.Render2D.drawShadow(x,y,Fonts.rubik[16].getWidth(text) + 4,9.5f, 10, colorVec.z, colorVec.w, colorVec.y, colorVec.x);
        RenderUtil.Render2D.drawGradientRound(x,y, Fonts.rubik[16].getWidth(text) + 4, 9.5f,2, colorVec.x, colorVec.y, colorVec.w, colorVec.z);
        Fonts.rubik[16].drawString(matrixStack, text, x + 2, y + 3f, -1  );
        watermark.setWidth(Fonts.rubik[16].getWidth(text) + 4);
        watermark.setHeight(10);
    }

    private void fiveNursultan(MatrixStack matrixStack) {
        float x = watermark.getX();
        float y = watermark.getY();

        final Vector4i colorVec = new Vector4i(
                ColorUtil.getColorStyle(0),
                ColorUtil.getColorStyle(90),
                ColorUtil.getColorStyle(180),
                ColorUtil.getColorStyle(270)
        );

        String text = " " + mc.getSession().getUsername() + " " + + mc.debugFPS + " fps " + HudUtil.calculatePing() + " ping";

        RenderUtil.Render2D.drawShadow(x,y, Fonts.nunito_light[20].getWidth(text) + Fonts.nunito_light[20].getWidth(name_client) + 4, 15, 5, colorVec.z, colorVec.x, colorVec.y, colorVec.w);
        RenderUtil.Render2D.drawRoundedRect(x, y, Fonts.nunito_light[20].getWidth(text) + Fonts.nunito_light[20].getWidth(name_client) + 4, 15, 3, ColorUtil.rgba(32,32,32,255));
        Fonts.nunito_light[20].drawString(matrixStack, ClientUtil.gradient(name_client.toLowerCase(), ColorUtil.getColorStyle(0), ColorUtil.getColorStyle(90)), x + 2, y + 2.5f, -1);
        Fonts.nunito_light[20].drawString(matrixStack, text, x + Fonts.nunito_light[20].getWidth(name_client), y + 2.5f, -1);


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


ss :1718877050548.png1718877059574.png1718877074149.png
вот еще - 1718877096337.png1718877108108.png
 
Говарда
Забаненный
Статус
Оффлайн
Регистрация
21 Дек 2022
Сообщения
497
Реакции[?]
193
Поинты[?]
95K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу