Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Вопрос У кого-то была такая проблема с quick client

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
18 Июн 2025
Сообщения
65
Реакции
1
1750821904685.png


что это? что за текст и почему он такой маленький
 
ну нихуя ты даёшь :anguished:
возможно из за размера гуи в самом маинкрафте
да у меня остался квик еще давно кряк я его так не разу и не запускал ну и самой длл не было пришлось вырезать

ничего не изменилось
1750897889120.png
 
да у меня остался квик еще давно кряк я его так не разу и не запускал ну и самой длл не было пришлось вырезать

ничего не изменилось Посмотреть вложение 309864
дело в самом софте значит, ты с этим ничего не поделаешь без изменения самого mainmenu, раз не помогло изменение размера гуи самого маинкрафта - то получается ты что то вырезал лишнее что поломало это xD
 
дело в самом софте значит, ты с этим ничего не поделаешь без изменения самого mainmenu, раз не помогло изменение размера гуи самого маинкрафта - то получается ты что то вырезал лишнее что поломало это xD
Вряд ли я что-то сделал не так убрал два метода native и не думаю, чтобы это было как-то связано.

вот код мб чет ясно станет:
Код:
Expand Collapse Copy
// Decompiled with: CFR 0.152
// Class Version: 17
package quick.mine.gui.mainmenu;

import java.awt.Color;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.class_156;
import net.minecraft.class_2561;
import net.minecraft.class_2960;
import net.minecraft.class_310;
import net.minecraft.class_332;
import net.minecraft.class_429;
import net.minecraft.class_437;
import net.minecraft.class_500;
import net.minecraft.class_526;
import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFW;
import quick.mine.gui.MultiplayerScreen.MultiplayerGui;
import quick.mine.gui.clickui.impl.CheckBoxElement;
import quick.mine.gui.mainmenu.AltManager;
import quick.mine.gui.mainmenu.BackGroundElement;
import quick.mine.gui.mainmenu.BackGroundRender;
import quick.mine.gui.mainmenu.MainMenuButton;
import quick.mine.modules.Module;
import quick.mine.modules.hud.HudEditor;
import quick.mine.util.render.MSAAFramebuffer;
import quick.mine.util.render.Render2D;

public class MainMenuScreen
extends class_437 {
    public static class_2960 currentfonID = new class_2960("textures/fon2.jpg");
    private final List<MainMenuButton> buttons = new ArrayList<MainMenuButton>();
    private final List<BackGroundElement> background = new ArrayList<BackGroundElement>();
    private static final class_2960 discord = new class_2960("textures/discordpng.png");
    private static final class_2960 telegram = new class_2960("textures/telegram.png");
    private static final class_2960 site = new class_2960("textures/inet.png");
    public static float animX;
    public static float animY;
    public static float dsalpha;
    public static float tgalpha;
    public static float sitealpha;
    public static float fixSize;
    boolean fonopen = false;
    private static MainMenuScreen INSTANCE;

    protected MainMenuScreen() {
        super(class_2561.method_30163((String)"MenuScreen"));
        INSTANCE = this;
        this.buttons.add(new MainMenuButton(-78.0f, -90.0f, "Одиночная игра", () -> Module.mc.method_1507((class_437)new class_526((class_437)this))));
        this.buttons.add(new MainMenuButton(-78.0f, -53.0f, "Сетевая игра", () -> Module.mc.method_1507((class_437)new class_500((class_437)this))));
        this.buttons.add(new MainMenuButton(-78.0f, -14.0f, "Настройки", () -> Module.mc.method_1507((class_437)new class_429((class_437)this, Module.mc.field_1690))));
        this.buttons.add(new MainMenuButton(-78.0f, 23.0f, "Аккаунты", () -> Module.mc.method_1507(AltManager.getInstance())));
        this.buttons.add(new MainMenuButton(-78.0f, 60.0f, "Выйти", () -> ((class_310)Module.mc).method_1592()));
    }

    public static MainMenuScreen getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new MainMenuScreen();
        }
        return INSTANCE;
    }

    public void method_25426() {
        MultiplayerGui.fontUpdate = true;
        BackGroundRender.BackGroundInit();
    }

    public void method_25394(@NotNull class_332 context, int mouseX, int mouseY, float delta) {
        Color maincolor = Render2D.injectAlpha(HudEditor.RectColor(), 130);
        MultiplayerGui.mmhh = false;
        float halfOfWidth = (float)Module.mc.method_22683().method_4486() / 2.0f;
        float halfOfHeight = (float)Module.mc.method_22683().method_4502() / 2.0f;
        animX = CheckBoxElement.fast(animX, mouseX, 100.0f);
        animY = CheckBoxElement.fast(animY, mouseY, 100.0f);
        dsalpha = CheckBoxElement.fast(dsalpha, this.DiscordHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        tgalpha = CheckBoxElement.fast(tgalpha, this.TelegramHoveres(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        sitealpha = CheckBoxElement.fast(sitealpha, this.SiteHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        Render2D.drawRect(context.method_51448(), 0.0f, 0.0f, Module.mc.method_22683().method_4486(), Module.mc.method_22683().method_4502(), HudEditor.RectColor());
        Render2D.drawTextureMSAA(context.method_51448(), currentfonID, -21.0f + animX / 60.0f, -12.0f + animY / 60.0f, Module.mc.method_22683().method_4486() + 21, Module.mc.method_22683().method_4502() + 12, new Color(-1));
        Render2D.drawHudCustom(context.method_51448(), halfOfWidth - 105.0f * fixSize, halfOfHeight - 111.0f * fixSize, 210.0f * fixSize, 222.0f * fixSize, 9.0f * fixSize, 12.0f * fixSize, maincolor);
        Render2D.drawHudCustom(context.method_51448(), halfOfWidth - 70.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 34.0f * fixSize, 140.0f * fixSize, 40.0f * fixSize, 7.5f * fixSize, 10.0f * fixSize, maincolor);
        this.buttons.forEach(b -> b.onRender(context, mouseX, mouseY));
        MSAAFramebuffer.useCustom(() -> {
            Render2D.drawTextureMSAA(context.method_51448(), discord, halfOfWidth - 53.5f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 21.0f * fixSize, 21.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), discord, halfOfWidth - 43.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 21.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)dsalpha));
            Render2D.drawTextureMSAA(context.method_51448(), site, halfOfWidth - 10.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), site, halfOfWidth, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)sitealpha));
            Render2D.drawTextureMSAA(context.method_51448(), telegram, halfOfWidth + 33.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), telegram, halfOfWidth + 43.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)tgalpha));
        }, 16);
        if (this.DiscordHovered(mouseX, mouseY) || this.SiteHovered(mouseX, mouseY) || this.TelegramHoveres(mouseX, mouseY)) {
            GLFW.glfwSetCursor((long)Module.mc.method_22683().method_4490(), (long)GLFW.glfwCreateStandardCursor((int)221188));
            MultiplayerGui.mmhh = true;
        }
        BackGroundRender.render(context, mouseX, mouseY, delta);
        if (!MultiplayerGui.mmhh) {
            GLFW.glfwSetCursor((long)Module.mc.method_22683().method_4490(), (long)GLFW.glfwCreateStandardCursor((int)221185));
        }
    }

    public boolean method_25402(double mouseX, double mouseY, int button) {
        if (this.DiscordHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://discord.gg/TPdfGKs7B3"));
        }
        if (this.SiteHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://quickclient.ru/"));
        }
        if (this.TelegramHoveres(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://t.me/quickclient"));
        }
        this.buttons.forEach(b -> b.mouseClick((float)mouseX, (float)mouseY));
        return super.method_25402(mouseX, mouseY, button);
    }

    public boolean DiscordHovered(double mouseX, double mouseY) {
        float size = 21.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) - 45.0f * fixSize - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    public boolean SiteHovered(double mouseX, double mouseY) {
        float size = 20.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    public boolean TelegramHoveres(double mouseX, double mouseY) {
        float size = 20.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) + 45.0f * fixSize - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    static {
        INSTANCE = new MainMenuScreen();
    }
}
фон рендерит на счет остального не знаю
 
Вряд ли я что-то сделал не так убрал два метода native и не думаю, чтобы это было как-то связано.

вот код мб чет ясно станет:
Код:
Expand Collapse Copy
// Decompiled with: CFR 0.152
// Class Version: 17
package quick.mine.gui.mainmenu;

import java.awt.Color;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.class_156;
import net.minecraft.class_2561;
import net.minecraft.class_2960;
import net.minecraft.class_310;
import net.minecraft.class_332;
import net.minecraft.class_429;
import net.minecraft.class_437;
import net.minecraft.class_500;
import net.minecraft.class_526;
import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFW;
import quick.mine.gui.MultiplayerScreen.MultiplayerGui;
import quick.mine.gui.clickui.impl.CheckBoxElement;
import quick.mine.gui.mainmenu.AltManager;
import quick.mine.gui.mainmenu.BackGroundElement;
import quick.mine.gui.mainmenu.BackGroundRender;
import quick.mine.gui.mainmenu.MainMenuButton;
import quick.mine.modules.Module;
import quick.mine.modules.hud.HudEditor;
import quick.mine.util.render.MSAAFramebuffer;
import quick.mine.util.render.Render2D;

public class MainMenuScreen
extends class_437 {
    public static class_2960 currentfonID = new class_2960("textures/fon2.jpg");
    private final List<MainMenuButton> buttons = new ArrayList<MainMenuButton>();
    private final List<BackGroundElement> background = new ArrayList<BackGroundElement>();
    private static final class_2960 discord = new class_2960("textures/discordpng.png");
    private static final class_2960 telegram = new class_2960("textures/telegram.png");
    private static final class_2960 site = new class_2960("textures/inet.png");
    public static float animX;
    public static float animY;
    public static float dsalpha;
    public static float tgalpha;
    public static float sitealpha;
    public static float fixSize;
    boolean fonopen = false;
    private static MainMenuScreen INSTANCE;

    protected MainMenuScreen() {
        super(class_2561.method_30163((String)"MenuScreen"));
        INSTANCE = this;
        this.buttons.add(new MainMenuButton(-78.0f, -90.0f, "Одиночная игра", () -> Module.mc.method_1507((class_437)new class_526((class_437)this))));
        this.buttons.add(new MainMenuButton(-78.0f, -53.0f, "Сетевая игра", () -> Module.mc.method_1507((class_437)new class_500((class_437)this))));
        this.buttons.add(new MainMenuButton(-78.0f, -14.0f, "Настройки", () -> Module.mc.method_1507((class_437)new class_429((class_437)this, Module.mc.field_1690))));
        this.buttons.add(new MainMenuButton(-78.0f, 23.0f, "Аккаунты", () -> Module.mc.method_1507(AltManager.getInstance())));
        this.buttons.add(new MainMenuButton(-78.0f, 60.0f, "Выйти", () -> ((class_310)Module.mc).method_1592()));
    }

    public static MainMenuScreen getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new MainMenuScreen();
        }
        return INSTANCE;
    }

    public void method_25426() {
        MultiplayerGui.fontUpdate = true;
        BackGroundRender.BackGroundInit();
    }

    public void method_25394(@NotNull class_332 context, int mouseX, int mouseY, float delta) {
        Color maincolor = Render2D.injectAlpha(HudEditor.RectColor(), 130);
        MultiplayerGui.mmhh = false;
        float halfOfWidth = (float)Module.mc.method_22683().method_4486() / 2.0f;
        float halfOfHeight = (float)Module.mc.method_22683().method_4502() / 2.0f;
        animX = CheckBoxElement.fast(animX, mouseX, 100.0f);
        animY = CheckBoxElement.fast(animY, mouseY, 100.0f);
        dsalpha = CheckBoxElement.fast(dsalpha, this.DiscordHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        tgalpha = CheckBoxElement.fast(tgalpha, this.TelegramHoveres(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        sitealpha = CheckBoxElement.fast(sitealpha, this.SiteHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        Render2D.drawRect(context.method_51448(), 0.0f, 0.0f, Module.mc.method_22683().method_4486(), Module.mc.method_22683().method_4502(), HudEditor.RectColor());
        Render2D.drawTextureMSAA(context.method_51448(), currentfonID, -21.0f + animX / 60.0f, -12.0f + animY / 60.0f, Module.mc.method_22683().method_4486() + 21, Module.mc.method_22683().method_4502() + 12, new Color(-1));
        Render2D.drawHudCustom(context.method_51448(), halfOfWidth - 105.0f * fixSize, halfOfHeight - 111.0f * fixSize, 210.0f * fixSize, 222.0f * fixSize, 9.0f * fixSize, 12.0f * fixSize, maincolor);
        Render2D.drawHudCustom(context.method_51448(), halfOfWidth - 70.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 34.0f * fixSize, 140.0f * fixSize, 40.0f * fixSize, 7.5f * fixSize, 10.0f * fixSize, maincolor);
        this.buttons.forEach(b -> b.onRender(context, mouseX, mouseY));
        MSAAFramebuffer.useCustom(() -> {
            Render2D.drawTextureMSAA(context.method_51448(), discord, halfOfWidth - 53.5f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 21.0f * fixSize, 21.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), discord, halfOfWidth - 43.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 21.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)dsalpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)dsalpha));
            Render2D.drawTextureMSAA(context.method_51448(), site, halfOfWidth - 10.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), site, halfOfWidth, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)sitealpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)sitealpha));
            Render2D.drawTextureMSAA(context.method_51448(), telegram, halfOfWidth + 33.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), telegram, halfOfWidth + 43.0f * fixSize, (float)Module.mc.method_22683().method_4502() - 26.0f * fixSize, 20.0f * fixSize, Render2D.injectAlpha(HudEditor.getColor(270), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(0), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(180), (int)tgalpha), Render2D.injectAlpha(HudEditor.getColor(90), (int)tgalpha));
        }, 16);
        if (this.DiscordHovered(mouseX, mouseY) || this.SiteHovered(mouseX, mouseY) || this.TelegramHoveres(mouseX, mouseY)) {
            GLFW.glfwSetCursor((long)Module.mc.method_22683().method_4490(), (long)GLFW.glfwCreateStandardCursor((int)221188));
            MultiplayerGui.mmhh = true;
        }
        BackGroundRender.render(context, mouseX, mouseY, delta);
        if (!MultiplayerGui.mmhh) {
            GLFW.glfwSetCursor((long)Module.mc.method_22683().method_4490(), (long)GLFW.glfwCreateStandardCursor((int)221185));
        }
    }

    public boolean method_25402(double mouseX, double mouseY, int button) {
        if (this.DiscordHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://discord.gg/TPdfGKs7B3"));
        }
        if (this.SiteHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://quickclient.ru/"));
        }
        if (this.TelegramHoveres(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://t.me/quickclient"));
        }
        this.buttons.forEach(b -> b.mouseClick((float)mouseX, (float)mouseY));
        return super.method_25402(mouseX, mouseY, button);
    }

    public boolean DiscordHovered(double mouseX, double mouseY) {
        float size = 21.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) - 45.0f * fixSize - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    public boolean SiteHovered(double mouseX, double mouseY) {
        float size = 20.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    public boolean TelegramHoveres(double mouseX, double mouseY) {
        float size = 20.0f * fixSize;
        return Render2D.isHovered(mouseX, mouseY, (float)(Module.mc.method_22683().method_4486() / 2) + 45.0f * fixSize - size / 2.0f, (float)Module.mc.method_22683().method_4502() - 28.0f * fixSize, size, size);
    }

    static {
        INSTANCE = new MainMenuScreen();
    }
}
фон рендерит на счет остального не знаю

ну тут вроде всё понятно стало, fixSize - виновник, он вроде всему интерфейсу размер меняет.
public static float fixSize; - imposter detected

попробуй так:
Expand Collapse Copy
package quick.mine.gui.mainmenu;

import java.awt.Color;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.class_156;
import net.minecraft.class_2561;
import net.minecraft.class_2960;
import net.minecraft.class_310;
import net.minecraft.class_332;
import net.minecraft.class_429;
import net.minecraft.class_437;
import net.minecraft.class_500;
import net.minecraft.class_526;
import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFW;
import quick.mine.gui.MultiplayerScreen.MultiplayerGui;
import quick.mine.gui.clickui.impl.CheckBoxElement;
import quick.mine.gui.mainmenu.AltManager;
import quick.mine.gui.mainmenu.BackGroundElement;
import quick.mine.gui.mainmenu.BackGroundRender;
import quick.mine.gui.mainmenu.MainMenuButton;
import quick.mine.modules.Module;
import quick.mine.modules.hud.HudEditor;
import quick.mine.util.render.MSAAFramebuffer;
import quick.mine.util.render.Render2D;

public class MainMenuScreen extends class_437 {
    public static class_2960 currentfonID = new class_2960("textures/fon2.jpg");
    private final List<MainMenuButton> buttons = new ArrayList<>();
    private final List<BackGroundElement> background = new ArrayList<>();
    private static final class_2960 discord = new class_2960("textures/discordpng.png");
    private static final class_2960 telegram = new class_2960("textures/telegram.png");
    private static final class_2960 site = new class_2960("textures/inet.png");
    public static float animX;
    public static float animY;
    public static float dsalpha;
    public static float tgalpha;
    public static float sitealpha;
    private float currentScale = 1.0f;
    boolean fonopen = false;
    private static MainMenuScreen INSTANCE;

    protected MainMenuScreen() {
        super(class_2561.method_30163("MenuScreen"));
        INSTANCE = this;
        this.buttons.add(new MainMenuButton(-78.0f, -90.0f, "Одиночная игра", () -> Module.mc.method_1507(new class_526(this))));
        this.buttons.add(new MainMenuButton(-78.0f, -53.0f, "Сетевая игра", () -> Module.mc.method_1507(new class_500(this))));
        this.buttons.add(new MainMenuButton(-78.0f, -14.0f, "Настройки", () -> Module.mc.method_1507(new class_429(this, Module.mc.field_1690))));
        this.buttons.add(new MainMenuButton(-78.0f, 23.0f, "Аккаунты", () -> Module.mc.method_1507(AltManager.getInstance())));
        this.buttons.add(new MainMenuButton(-78.0f, 60.0f, "Выйти", () -> ((class_310)Module.mc).method_1592()));
    }

    public static MainMenuScreen getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new MainMenuScreen();
        }
        return INSTANCE;
    }

    public void method_25426() {
        MultiplayerGui.fontUpdate = true;
        BackGroundRender.BackGroundInit();
        updateScale();
    }

    private void updateScale() {
        int screenWidth = Module.mc.method_22683().method_4486();
        int screenHeight = Module.mc.method_22683().method_4502();
        float widthScale = screenWidth / 1920.0f;
        float heightScale = screenHeight / 1080.0f;
        currentScale = Math.min(widthScale, heightScale);
        if (currentScale < 0.7f) currentScale = 0.7f;
        if (currentScale > 1.5f) currentScale = 1.5f;
    }

    public void method_25394(@NotNull class_332 context, int mouseX, int mouseY, float delta) {
        updateScale();
        Color maincolor = Render2D.injectAlpha(HudEditor.RectColor(), 130);
        MultiplayerGui.mmhh = false;
        float halfOfWidth = (float)Module.mc.method_22683().method_4486() / 2.0f;
        float halfOfHeight = (float)Module.mc.method_22683().method_4502() / 2.0f;
        animX = CheckBoxElement.fast(animX, mouseX, 100.0f);
        animY = CheckBoxElement.fast(animY, mouseY, 100.0f);
        dsalpha = CheckBoxElement.fast(dsalpha, DiscordHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        tgalpha = CheckBoxElement.fast(tgalpha, TelegramHoveres(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        sitealpha = CheckBoxElement.fast(sitealpha, SiteHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        Render2D.drawRect(context.method_51448(), 0.0f, 0.0f, Module.mc.method_22683().method_4486(), Module.mc.method_22683().method_4502(), HudEditor.RectColor());
        Render2D.drawTextureMSAA(context.method_51448(), currentfonID, -21.0f + animX / 60.0f, -12.0f + animY / 60.0f,
            Module.mc.method_22683().method_4486() + 21, Module.mc.method_22683().method_4502() + 12, new Color(-1));
        Render2D.drawHudCustom(context.method_51448(),
            halfOfWidth - 105.0f * currentScale,
            halfOfHeight - 111.0f * currentScale, 210.0f * currentScale, 222.0f * currentScale, 9.0f * currentScale, 12.0f * currentScale, maincolor);
        Render2D.drawHudCustom(context.method_51448(),
            halfOfWidth - 70.0f * currentScale,
            (float)Module.mc.method_22683().method_4502() - 34.0f * currentScale, 140.0f * currentScale, 40.0f * currentScale, 7.5f * currentScale, 10.0f * currentScale, maincolor);
        this.buttons.forEach(b -> b.onRender(context, mouseX, mouseY, currentScale));
        MSAAFramebuffer.useCustom(() -> {
            float iconSize = 20.0f * currentScale;
            float iconYPos = (float)Module.mc.method_22683().method_4502() - 26.0f * currentScale;
            Render2D.drawTextureMSAA(context.method_51448(), discord,
                halfOfWidth - 53.5f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), discord,
                halfOfWidth - 43.0f * currentScale,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)dsalpha));
            Render2D.drawTextureMSAA(context.method_51448(), site,
                halfOfWidth - 10.0f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), site,
                halfOfWidth,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)sitealpha));
            Render2D.drawTextureMSAA(context.method_51448(), telegram,
                halfOfWidth + 33.0f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), telegram,
                halfOfWidth + 43.0f * currentScale,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)tgalpha));
        }, 16);
        if (DiscordHovered(mouseX, mouseY) || SiteHovered(mouseX, mouseY) || TelegramHoveres(mouseX, mouseY)) {
            GLFW.glfwSetCursor(Module.mc.method_22683().method_4490(), GLFW.glfwCreateStandardCursor(GLFW.GLFW_HAND_CURSOR));
            MultiplayerGui.mmhh = true;
        }
        BackGroundRender.render(context, mouseX, mouseY, delta);
        if (!MultiplayerGui.mmhh) {
            GLFW.glfwSetCursor(Module.mc.method_22683().method_4490(), GLFW.glfwCreateStandardCursor(GLFW.GLFW_ARROW_CURSOR));
        }
    }

    public boolean method_25402(double mouseX, double mouseY, int button) {
        if (DiscordHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://discord.gg/TPdfGKs7B3"));
        }
        if (SiteHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://quickclient.ru/"));
        }
        if (TelegramHoveres(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://t.me/quickclient"));
        }
        this.buttons.forEach(b -> b.mouseClick((float)mouseX, (float)mouseY, currentScale));
        return super.method_25402(mouseX, mouseY, button);
    }

    public boolean DiscordHovered(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 - 45.0f * currentScale - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    public boolean SiteHovered(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    public boolean TelegramHoveres(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 + 45.0f * currentScale - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    static {
        INSTANCE = new MainMenuScreen();
    }
}
 
ну тут вроде всё понятно стало, fixSize - виновник, он вроде всему интерфейсу размер меняет.
public static float fixSize; - imposter detected

попробуй так:
Expand Collapse Copy
package quick.mine.gui.mainmenu;

import java.awt.Color;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.class_156;
import net.minecraft.class_2561;
import net.minecraft.class_2960;
import net.minecraft.class_310;
import net.minecraft.class_332;
import net.minecraft.class_429;
import net.minecraft.class_437;
import net.minecraft.class_500;
import net.minecraft.class_526;
import org.jetbrains.annotations.NotNull;
import org.lwjgl.glfw.GLFW;
import quick.mine.gui.MultiplayerScreen.MultiplayerGui;
import quick.mine.gui.clickui.impl.CheckBoxElement;
import quick.mine.gui.mainmenu.AltManager;
import quick.mine.gui.mainmenu.BackGroundElement;
import quick.mine.gui.mainmenu.BackGroundRender;
import quick.mine.gui.mainmenu.MainMenuButton;
import quick.mine.modules.Module;
import quick.mine.modules.hud.HudEditor;
import quick.mine.util.render.MSAAFramebuffer;
import quick.mine.util.render.Render2D;

public class MainMenuScreen extends class_437 {
    public static class_2960 currentfonID = new class_2960("textures/fon2.jpg");
    private final List<MainMenuButton> buttons = new ArrayList<>();
    private final List<BackGroundElement> background = new ArrayList<>();
    private static final class_2960 discord = new class_2960("textures/discordpng.png");
    private static final class_2960 telegram = new class_2960("textures/telegram.png");
    private static final class_2960 site = new class_2960("textures/inet.png");
    public static float animX;
    public static float animY;
    public static float dsalpha;
    public static float tgalpha;
    public static float sitealpha;
    private float currentScale = 1.0f;
    boolean fonopen = false;
    private static MainMenuScreen INSTANCE;

    protected MainMenuScreen() {
        super(class_2561.method_30163("MenuScreen"));
        INSTANCE = this;
        this.buttons.add(new MainMenuButton(-78.0f, -90.0f, "Одиночная игра", () -> Module.mc.method_1507(new class_526(this))));
        this.buttons.add(new MainMenuButton(-78.0f, -53.0f, "Сетевая игра", () -> Module.mc.method_1507(new class_500(this))));
        this.buttons.add(new MainMenuButton(-78.0f, -14.0f, "Настройки", () -> Module.mc.method_1507(new class_429(this, Module.mc.field_1690))));
        this.buttons.add(new MainMenuButton(-78.0f, 23.0f, "Аккаунты", () -> Module.mc.method_1507(AltManager.getInstance())));
        this.buttons.add(new MainMenuButton(-78.0f, 60.0f, "Выйти", () -> ((class_310)Module.mc).method_1592()));
    }

    public static MainMenuScreen getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new MainMenuScreen();
        }
        return INSTANCE;
    }

    public void method_25426() {
        MultiplayerGui.fontUpdate = true;
        BackGroundRender.BackGroundInit();
        updateScale();
    }

    private void updateScale() {
        int screenWidth = Module.mc.method_22683().method_4486();
        int screenHeight = Module.mc.method_22683().method_4502();
        float widthScale = screenWidth / 1920.0f;
        float heightScale = screenHeight / 1080.0f;
        currentScale = Math.min(widthScale, heightScale);
        if (currentScale < 0.7f) currentScale = 0.7f;
        if (currentScale > 1.5f) currentScale = 1.5f;
    }

    public void method_25394(@NotNull class_332 context, int mouseX, int mouseY, float delta) {
        updateScale();
        Color maincolor = Render2D.injectAlpha(HudEditor.RectColor(), 130);
        MultiplayerGui.mmhh = false;
        float halfOfWidth = (float)Module.mc.method_22683().method_4486() / 2.0f;
        float halfOfHeight = (float)Module.mc.method_22683().method_4502() / 2.0f;
        animX = CheckBoxElement.fast(animX, mouseX, 100.0f);
        animY = CheckBoxElement.fast(animY, mouseY, 100.0f);
        dsalpha = CheckBoxElement.fast(dsalpha, DiscordHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        tgalpha = CheckBoxElement.fast(tgalpha, TelegramHoveres(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        sitealpha = CheckBoxElement.fast(sitealpha, SiteHovered(mouseX, mouseY) ? 255.0f : 0.0f, 6.0f);
        Render2D.drawRect(context.method_51448(), 0.0f, 0.0f, Module.mc.method_22683().method_4486(), Module.mc.method_22683().method_4502(), HudEditor.RectColor());
        Render2D.drawTextureMSAA(context.method_51448(), currentfonID, -21.0f + animX / 60.0f, -12.0f + animY / 60.0f,
            Module.mc.method_22683().method_4486() + 21, Module.mc.method_22683().method_4502() + 12, new Color(-1));
        Render2D.drawHudCustom(context.method_51448(),
            halfOfWidth - 105.0f * currentScale,
            halfOfHeight - 111.0f * currentScale, 210.0f * currentScale, 222.0f * currentScale, 9.0f * currentScale, 12.0f * currentScale, maincolor);
        Render2D.drawHudCustom(context.method_51448(),
            halfOfWidth - 70.0f * currentScale,
            (float)Module.mc.method_22683().method_4502() - 34.0f * currentScale, 140.0f * currentScale, 40.0f * currentScale, 7.5f * currentScale, 10.0f * currentScale, maincolor);
        this.buttons.forEach(b -> b.onRender(context, mouseX, mouseY, currentScale));
        MSAAFramebuffer.useCustom(() -> {
            float iconSize = 20.0f * currentScale;
            float iconYPos = (float)Module.mc.method_22683().method_4502() - 26.0f * currentScale;
            Render2D.drawTextureMSAA(context.method_51448(), discord,
                halfOfWidth - 53.5f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), discord,
                halfOfWidth - 43.0f * currentScale,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)dsalpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)dsalpha));
            Render2D.drawTextureMSAA(context.method_51448(), site,
                halfOfWidth - 10.0f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), site,
                halfOfWidth,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)sitealpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)sitealpha));
            Render2D.drawTextureMSAA(context.method_51448(), telegram,
                halfOfWidth + 33.0f * currentScale,
                iconYPos,
                iconSize,
                iconSize,
                Render2D.injectAlpha(HudEditor.TextColor(), 200));
            Render2D.drawTextureGradient(context.method_51448(), telegram,
                halfOfWidth + 43.0f * currentScale,
                iconYPos,
                iconSize,
                Render2D.injectAlpha(HudEditor.getColor(270), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(0), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(180), (int)tgalpha),
                Render2D.injectAlpha(HudEditor.getColor(90), (int)tgalpha));
        }, 16);
        if (DiscordHovered(mouseX, mouseY) || SiteHovered(mouseX, mouseY) || TelegramHoveres(mouseX, mouseY)) {
            GLFW.glfwSetCursor(Module.mc.method_22683().method_4490(), GLFW.glfwCreateStandardCursor(GLFW.GLFW_HAND_CURSOR));
            MultiplayerGui.mmhh = true;
        }
        BackGroundRender.render(context, mouseX, mouseY, delta);
        if (!MultiplayerGui.mmhh) {
            GLFW.glfwSetCursor(Module.mc.method_22683().method_4490(), GLFW.glfwCreateStandardCursor(GLFW.GLFW_ARROW_CURSOR));
        }
    }

    public boolean method_25402(double mouseX, double mouseY, int button) {
        if (DiscordHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://discord.gg/TPdfGKs7B3"));
        }
        if (SiteHovered(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://quickclient.ru/"));
        }
        if (TelegramHoveres(mouseX, mouseY)) {
            class_156.method_668().method_673(URI.create("https://t.me/quickclient"));
        }
        this.buttons.forEach(b -> b.mouseClick((float)mouseX, (float)mouseY, currentScale));
        return super.method_25402(mouseX, mouseY, button);
    }

    public boolean DiscordHovered(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 - 45.0f * currentScale - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    public boolean SiteHovered(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    public boolean TelegramHoveres(double mouseX, double mouseY) {
        float size = 20.0f * currentScale;
        return Render2D.isHovered(mouseX, mouseY,
            (float)Module.mc.method_22683().method_4486() / 2 + 45.0f * currentScale - size / 2.0f,
            (float)Module.mc.method_22683().method_4502() - 28.0f * currentScale,
            size, size);
    }

    static {
        INSTANCE = new MainMenuScreen();
    }
}
Спасибо, сейчас проверю.
 
Назад
Сверху Снизу