Подведи собственные итоги года совместно с YOUGAME и забери ценные призы! Перейти

ClickGui (Rich Ready)

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
20 Ноя 2022
Сообщения
58
Реакции
1
сливаю гуишку
Код:
Expand Collapse Copy
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package fun.rich.client.ui.clickgui;

import fun.rich.client.Rich;
import fun.rich.client.feature.Feature;
import fun.rich.client.feature.impl.FeatureCategory;
import fun.rich.client.feature.impl.hud.ClickGUI;
import fun.rich.client.ui.clickgui.component.AnimationState;
import fun.rich.client.ui.clickgui.component.Component;
import fun.rich.client.ui.clickgui.component.DraggablePanel;
import fun.rich.client.ui.clickgui.component.ExpandableComponent;
import fun.rich.client.ui.clickgui.component.impl.ModuleComponent;
import fun.rich.client.utils.render.RenderUtils;
import fun.rich.client.utils.render.RoundedUtil;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;

import java.awt.*;
import java.util.Iterator;
import java.util.List;

public final class Panel extends DraggablePanel {
    Minecraft mc = Minecraft.getMinecraft();
    public static final int HEADER_WIDTH = 107;
    public static final int X_ITEM_OFFSET = 1;
    public static final int ITEM_HEIGHT = 15;
    public static final int HEADER_HEIGHT = 17;
    public List<Feature> features;
    public FeatureCategory type;
    public AnimationState state;
    private int prevX;
    private int prevY;
    private boolean dragging;
    public float scale = 2.0F;

    public Panel(FeatureCategory category, int x, int y) {
        super((Component)null, category.name(), x, y, 107, 17);
        int moduleY = 17;
        this.state = AnimationState.STATIC;
        this.features = Rich.instance.featureManager.getFeaturesCategory(category);

        for(Iterator var5 = this.features.iterator(); var5.hasNext(); moduleY += 15) {
            Feature feature = (Feature)var5.next();
            this.components.add(new ModuleComponent(this, feature, 1, moduleY, 105, 15));
        }

        this.type = category;
    }

    public void drawComponent(ScaledResolution scaledResolution, int mouseX, int mouseY) {
        new ScaledResolution(this.mc);
        if (this.dragging) {
            this.setX(mouseX - this.prevX);
            this.setY(mouseY - this.prevY);
        }

        int x = this.getX();
        int y = this.getY();
        int width = this.getWidth();
        int height = this.getHeight();
        int heightWithExpand = this.getHeightWithExpand();
        int headerHeight = this.isExpanded() ? heightWithExpand : height;
        float extendedHeight = 2.0F;
        RenderUtils.drawBlurredShadow((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 5, ClickGUI.color.getColorValueColor());
        RoundedUtil.drawRound((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 3.0F, Color.decode("#1A1919"));
        RenderUtils.drawGlow((double)(x + 1), (double)(y + height - 4), (double)(x + (width - 1)), (double)(y + 15), ClickGUI.color.getColor());
        this.mc.mntsb_15.drawCenteredString(this.getName(), (float)x + 53.5F, -0.5F + (float)y + 8.5F - 5.0F, Color.LIGHT_GRAY.getRGB());
        super.drawComponent(scaledResolution, mouseX, mouseY);
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var12 = this.components.iterator(); var12.hasNext(); height += cHeight) {
                Component component = (Component)var12.next();
                component.setY(height);
                component.drawComponent(scaledResolution, mouseX, mouseY);
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

    }

    public void onPress(int mouseX, int mouseY, int button) {
        if (button == 0 && !this.dragging) {
            this.dragging = true;
            this.prevX = mouseX - this.getX();
            this.prevY = mouseY - this.getY();
        }

    }

    public void onMouseRelease(int button) {
        super.onMouseRelease(button);
        this.dragging = false;
    }

    public boolean canExpand() {
        return !this.features.isEmpty();
    }

    public int getHeightWithExpand() {
        int height = this.getHeight();
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var2 = this.components.iterator(); var2.hasNext(); height += cHeight) {
                Component component = (Component)var2.next();
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

        return height;
    }

    public static void _() {
    }
}
 

Вложения

  • Liberica-1.8.0_345 Screenshot 2022.12.26 - 13.34.38.60.png
    Liberica-1.8.0_345 Screenshot 2022.12.26 - 13.34.38.60.png
    589 KB · Просмотры: 2,696
Я изменил меню, но при открытие его через лаунчер маинкрафт у меня крашит, а при открытие с intellij IDEA все норм
 
Очередной высер от акривера
 
как должно было выглядить на самом деле:
 

Вложения

  • Corretto-1.8.0_352 Screenshot 2022.12.26 - 18.09.12.10.png
    Corretto-1.8.0_352 Screenshot 2022.12.26 - 18.09.12.10.png
    465.2 KB · Просмотры: 789
Нищий акривер нормально спастить не смог:cry:
 
Нищий акривер нормально спастить не смог:cry:
Спастить?, В один в один как в твоей нищий хуете старой версии
Нищий акривер нормально спастить не смог:cry:
мне лень на додика тратить время пусть челы юзает им веднее что им вставлять в свой чит
 
Спастить?, В один в один как в твоей нищий хуете старой версии

мне лень на додика тратить время пусть челы юзает им веднее что им вставлять в свой чит
Бро ты уже определись, то хуйня, то ты пастишь ее каждые 5 минут._.
 
Бро ты уже определись, то хуйня, то ты пастишь ее каждые 5 минут._.
Я сказал что твое гуи хуйня?, Где я такое сказал нормальное гуи я не говорю что это хуйня раз я её сам юзаю
 
/del понос
 
сливаю гуишку
Код:
Expand Collapse Copy
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package fun.rich.client.ui.clickgui;

import fun.rich.client.Rich;
import fun.rich.client.feature.Feature;
import fun.rich.client.feature.impl.FeatureCategory;
import fun.rich.client.feature.impl.hud.ClickGUI;
import fun.rich.client.ui.clickgui.component.AnimationState;
import fun.rich.client.ui.clickgui.component.Component;
import fun.rich.client.ui.clickgui.component.DraggablePanel;
import fun.rich.client.ui.clickgui.component.ExpandableComponent;
import fun.rich.client.ui.clickgui.component.impl.ModuleComponent;
import fun.rich.client.utils.render.RenderUtils;
import fun.rich.client.utils.render.RoundedUtil;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;

import java.awt.*;
import java.util.Iterator;
import java.util.List;

public final class Panel extends DraggablePanel {
    Minecraft mc = Minecraft.getMinecraft();
    public static final int HEADER_WIDTH = 107;
    public static final int X_ITEM_OFFSET = 1;
    public static final int ITEM_HEIGHT = 15;
    public static final int HEADER_HEIGHT = 17;
    public List<Feature> features;
    public FeatureCategory type;
    public AnimationState state;
    private int prevX;
    private int prevY;
    private boolean dragging;
    public float scale = 2.0F;

    public Panel(FeatureCategory category, int x, int y) {
        super((Component)null, category.name(), x, y, 107, 17);
        int moduleY = 17;
        this.state = AnimationState.STATIC;
        this.features = Rich.instance.featureManager.getFeaturesCategory(category);

        for(Iterator var5 = this.features.iterator(); var5.hasNext(); moduleY += 15) {
            Feature feature = (Feature)var5.next();
            this.components.add(new ModuleComponent(this, feature, 1, moduleY, 105, 15));
        }

        this.type = category;
    }

    public void drawComponent(ScaledResolution scaledResolution, int mouseX, int mouseY) {
        new ScaledResolution(this.mc);
        if (this.dragging) {
            this.setX(mouseX - this.prevX);
            this.setY(mouseY - this.prevY);
        }

        int x = this.getX();
        int y = this.getY();
        int width = this.getWidth();
        int height = this.getHeight();
        int heightWithExpand = this.getHeightWithExpand();
        int headerHeight = this.isExpanded() ? heightWithExpand : height;
        float extendedHeight = 2.0F;
        RenderUtils.drawBlurredShadow((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 5, ClickGUI.color.getColorValueColor());
        RoundedUtil.drawRound((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 3.0F, Color.decode("#1A1919"));
        RenderUtils.drawGlow((double)(x + 1), (double)(y + height - 4), (double)(x + (width - 1)), (double)(y + 15), ClickGUI.color.getColor());
        this.mc.mntsb_15.drawCenteredString(this.getName(), (float)x + 53.5F, -0.5F + (float)y + 8.5F - 5.0F, Color.LIGHT_GRAY.getRGB());
        super.drawComponent(scaledResolution, mouseX, mouseY);
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var12 = this.components.iterator(); var12.hasNext(); height += cHeight) {
                Component component = (Component)var12.next();
                component.setY(height);
                component.drawComponent(scaledResolution, mouseX, mouseY);
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

    }

    public void onPress(int mouseX, int mouseY, int button) {
        if (button == 0 && !this.dragging) {
            this.dragging = true;
            this.prevX = mouseX - this.getX();
            this.prevY = mouseY - this.getY();
        }

    }

    public void onMouseRelease(int button) {
        super.onMouseRelease(button);
        this.dragging = false;
    }

    public boolean canExpand() {
        return !this.features.isEmpty();
    }

    public int getHeightWithExpand() {
        int height = this.getHeight();
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var2 = this.components.iterator(); var2.hasNext(); height += cHeight) {
                Component component = (Component)var2.next();
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

        return height;
    }

    public static void _() {
    }
}
не паста метеор гуи из 1.4
 
сливаю гуишку
Код:
Expand Collapse Copy
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package fun.rich.client.ui.clickgui;

import fun.rich.client.Rich;
import fun.rich.client.feature.Feature;
import fun.rich.client.feature.impl.FeatureCategory;
import fun.rich.client.feature.impl.hud.ClickGUI;
import fun.rich.client.ui.clickgui.component.AnimationState;
import fun.rich.client.ui.clickgui.component.Component;
import fun.rich.client.ui.clickgui.component.DraggablePanel;
import fun.rich.client.ui.clickgui.component.ExpandableComponent;
import fun.rich.client.ui.clickgui.component.impl.ModuleComponent;
import fun.rich.client.utils.render.RenderUtils;
import fun.rich.client.utils.render.RoundedUtil;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;

import java.awt.*;
import java.util.Iterator;
import java.util.List;

public final class Panel extends DraggablePanel {
    Minecraft mc = Minecraft.getMinecraft();
    public static final int HEADER_WIDTH = 107;
    public static final int X_ITEM_OFFSET = 1;
    public static final int ITEM_HEIGHT = 15;
    public static final int HEADER_HEIGHT = 17;
    public List<Feature> features;
    public FeatureCategory type;
    public AnimationState state;
    private int prevX;
    private int prevY;
    private boolean dragging;
    public float scale = 2.0F;

    public Panel(FeatureCategory category, int x, int y) {
        super((Component)null, category.name(), x, y, 107, 17);
        int moduleY = 17;
        this.state = AnimationState.STATIC;
        this.features = Rich.instance.featureManager.getFeaturesCategory(category);

        for(Iterator var5 = this.features.iterator(); var5.hasNext(); moduleY += 15) {
            Feature feature = (Feature)var5.next();
            this.components.add(new ModuleComponent(this, feature, 1, moduleY, 105, 15));
        }

        this.type = category;
    }

    public void drawComponent(ScaledResolution scaledResolution, int mouseX, int mouseY) {
        new ScaledResolution(this.mc);
        if (this.dragging) {
            this.setX(mouseX - this.prevX);
            this.setY(mouseY - this.prevY);
        }

        int x = this.getX();
        int y = this.getY();
        int width = this.getWidth();
        int height = this.getHeight();
        int heightWithExpand = this.getHeightWithExpand();
        int headerHeight = this.isExpanded() ? heightWithExpand : height;
        float extendedHeight = 2.0F;
        RenderUtils.drawBlurredShadow((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 5, ClickGUI.color.getColorValueColor());
        RoundedUtil.drawRound((float)x, (float)y + 0.5F, -0.1F + (float)width, (float)headerHeight - extendedHeight, 3.0F, Color.decode("#1A1919"));
        RenderUtils.drawGlow((double)(x + 1), (double)(y + height - 4), (double)(x + (width - 1)), (double)(y + 15), ClickGUI.color.getColor());
        this.mc.mntsb_15.drawCenteredString(this.getName(), (float)x + 53.5F, -0.5F + (float)y + 8.5F - 5.0F, Color.LIGHT_GRAY.getRGB());
        super.drawComponent(scaledResolution, mouseX, mouseY);
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var12 = this.components.iterator(); var12.hasNext(); height += cHeight) {
                Component component = (Component)var12.next();
                component.setY(height);
                component.drawComponent(scaledResolution, mouseX, mouseY);
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

    }

    public void onPress(int mouseX, int mouseY, int button) {
        if (button == 0 && !this.dragging) {
            this.dragging = true;
            this.prevX = mouseX - this.getX();
            this.prevY = mouseY - this.getY();
        }

    }

    public void onMouseRelease(int button) {
        super.onMouseRelease(button);
        this.dragging = false;
    }

    public boolean canExpand() {
        return !this.features.isEmpty();
    }

    public int getHeightWithExpand() {
        int height = this.getHeight();
        int cHeight;
        if (this.isExpanded()) {
            for(Iterator var2 = this.components.iterator(); var2.hasNext(); height += cHeight) {
                Component component = (Component)var2.next();
                cHeight = component.getHeight();
                if (component instanceof ExpandableComponent) {
                    ExpandableComponent expandableComponent = (ExpandableComponent)component;
                    if (expandableComponent.isExpanded()) {
                        cHeight = expandableComponent.getHeightWithExpand() + 5;
                    }
                }
            }
        }

        return height;
    }

    public static void _() {
    }
}
чёрт, мега гуи рича слил сам Акривер из своей пасты!! ЧТоооооо..... - хвх просто...... Это же не гуи рича аааааааааааааааааа
 
Может для тебя и понос для других нет
чёрт, мега гуи рича слил сам Акривер из своей пасты!! ЧТоооооо..... - хвх просто...... Это же не гуи рича аааааааааааааааааа
Не совсем гуи рича, измененая
 
1672068367858.png

спасибо дружище за кривое гуи
 

Похожие темы

Назад
Сверху Снизу