Исходник KeyBinds Meteor Ready + Draggable

Начинающий
Статус
Оффлайн
Регистрация
11 Фев 2023
Сообщения
16
Реакции[?]
0
Поинты[?]
0
Чуть чуть переделал и добавил Draggable)
Для самых ленивых:

LenivieVi=).class:
package xyz.superpasta.cc.module.Hud;

import ti.ze.ne.lenivaia.zopa?

public class NePon extends Module {
    public float scale = 2.0F;
    public static ListSetting modw = new ListSetting("List Mode", "Shader", () -> {
        return true;
    }, new String[]{"Shader", "New"});
    public static BooleanSetting background = new BooleanSetting("Background", true, () -> {
        return true;
    });
    public static BooleanSetting right = new BooleanSetting("Right", false, () -> {
        return false;
    });
    public NumberSetting offsetY = new NumberSetting("Offset Y", 10.78F, 10.0F, 12.0F, 0.01F, () -> {
        return true;
    });
    public static NumberSetting roundvalue = new NumberSetting("Round Value", 5.0F, 2.0F, 6.0F, 1.0F, () -> {
        return modw.currentMode.equals("New");
    });
    public BooleanSetting rightBorder = new BooleanSetting("Left Border", true, () -> {
        return true;
    });
    public BooleanSetting onlyBinds = new BooleanSetting("Only Binds", true, () -> {
        return true;
    });
    public BooleanSetting noVisualModules = new BooleanSetting("No Visuals", false, () -> {
        return true;
    });
    public BooleanSetting glow = new BooleanSetting("Glow", false, () -> {
        return true;
    });
    public BooleanSetting lowercase = new BooleanSetting("LowerCase", false, () -> {
        return true;
    });
    public ColorSetting eblo = new ColorSetting("Border Color", (new Color(255, 255, 255)).getRGB(), () -> {
        return true;
    });
    public ColorSetting ebalocolor = new ColorSetting("Text Color", (new Color(255, 255, 255)).getRGB(), () -> {
        return true;
    });
    public NumberSetting glowRadius = new NumberSetting("Glow Radius", 10.0F, 0.0F, 50.0F, 1.0F, () -> {
        return this.glow.getCurrentValue();
    });
    public NumberSetting glowAlpha = new NumberSetting("Glow Alpha", 80.0F, 30.0F, 255.0F, 1.0F, () -> {
        return this.glow.getCurrentValue();
    });

    public NePon() {
        super("KeyBinds", "Показывает лист модулей, которые включены", ModuleCategory.Render);
    }

    @EventTarget
    public void Event2D(EventRender2D event) {
        DragKeys sus = (DragKeys) AAASYPERPASTACLIENT.instance.draggableHUD.getDraggableComponentByClass(DragKeys.class);
            List<Module> activeModules = AAASYPERPASTACLIENT.instance.featureManager.getAllFeatures();
            activeModules.sort(Comparator.comparingDouble((s) -> {
                return (double) (-mc.mntsb_18.getStringWidth(s.getLabel()));
            }));
            float displayWidth = (float) event.getResolution().getScaledWidth() * ((float) event.getResolution().getScaleFactor() / 2.0F);
            float yPotionOffset = sus.getY();
            if (this.isEnabled()) {

                activeModules.sort(Comparator.comparingDouble((s) -> {
                    return (double) (-ClientHelper.mc.mntsb_18.getStringWidth(s.getLabel()));
                }));
                Iterator var5 = Helper.mc.player.getActivePotionEffects().iterator();

                while (var5.hasNext()) {
                    PotionEffect potionEffect = (PotionEffect) var5.next();
                    if (potionEffect.getPotion().isBeneficial()) {
                        yPotionOffset = sus.getY();
                    }

                    if (potionEffect.getPotion().isBadEffect()) {
                        yPotionOffset = sus.getY();
                    }
                }

                int y = (int) (5.0F + yPotionOffset);
                int yTotal = 0;

                for (int i = 0; i < AAASYPERPASTACLIENT.instance.featureManager.getAllFeatures().size(); ++i) {
                    yTotal += ClientHelper.mc.mntsb_18.getFontHeight() + 3;
                }
                Iterator var12 = activeModules.iterator();

                while (true) {
                    Module module;
                    do {
                        do {
                            do {
                                do {
                                    if (!var12.hasNext()) {
                                        return;
                                    }

                                    module = (Module) var12.next();
                                    if (modw.currentMode.equals("Shader")) {
                                        module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 1.0F : 0.0F, (float) (1233.0 * AAASYPERPASTACLIENT.deltaTime()), (float) (1233.0 * AAASYPERPASTACLIENT.deltaTime()), (float) AAASYPERPASTACLIENT.deltaTime());
                                    }

                                    if (modw.currentMode.equals("New")) {
                                        module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 0.99F : 0.0F, (float) (2.0 * AAASYPERPASTACLIENT.deltaTime()), (float) (7.0 * AAASYPERPASTACLIENT.deltaTime()), (float) AAASYPERPASTACLIENT.deltaTime());
                                    }
                                } while (!(module.animYto > 0.0F));
                            } while (module.getLabel().equals("ClickGui"));
                        } while (this.noVisualModules.getCurrentValue() && module.getCategory() == ModuleCategory.Render);
                    } while (this.onlyBinds.getCurrentValue() && module.getBind() == 0);
                    GLUtils.INSTANCE.rescaleMC();

                    GL11.glPushMatrix();
                    GL11.glTranslated((double) sus.getX(), (double) y, 1.0);
                    GL11.glScaled(1.0, (double) module.animYto, 10.0);
                    GL11.glTranslated(-1.0, (double) (-y), 1.0);

                    RoundedUtil.drawGradientRound(3, yPotionOffset - 7, 100, 13, 0, new Color(0, 0, 0), new Color(0, 0, 0), new Color(0, 0, 0), new Color(0, 0, 0));
                    RoundedUtil.drawGradientRound(3F, (float) y + 2.2F, 100, 10.55F - 2.3F, 0.0F, new Color(0, 0, 0, 160), new Color(0, 0, 0, 160), new Color(0, 0, 0, 160), new Color(0, 0, 0, 160));

                    //RenderUtils.drawRect2(3, yPotionOffset + 6, 100, 0.7F,new Color(88, 88, 88, 150).getRGB());
                    RenderUtils.drawRect2(2.5, yPotionOffset - 8, 101, 1F, ClientHelper.getClientColor().getRGB());

                    Object backGroundColorMode;
                    if (this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue()) {
                        backGroundColorMode = null;

                        RenderUtils.drawRect(-1.0, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) ((float) y + this.offsetY.getCurrentValue()), RenderUtils.injectAlpha(ClientHelper.getClientColor((float) y, (float) yTotal, 192), 200).getRGB());
                    }

                    if (!this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue() && !this.rightBorder.getCurrentValue()) {
                        backGroundColorMode = null;
                        RenderUtils.drawRect2(-0.4, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) this.offsetY.getCurrentValue(), ClientHelper.getClientColor().getRGB());
                    }

                    if (!this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue() && this.rightBorder.getCurrentValue()) {
                        backGroundColorMode = null;
                        RenderUtils.drawRect2(-0.4, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) this.offsetY.getCurrentValue(), ClientHelper.getClientColor().getRGB());
                    }

                    if (modw.currentMode.equals("New") && this.rightBorder.getCurrentValue()) {
                        RenderUtils.drawRect2(2.9, (double) y, 0.2, (double) ((float) y + this.offsetY.getCurrentValue()), Color.WHITE.getRGB());
                    }

                    if (modw.currentMode.equals("Shader") && this.rightBorder.getCurrentValue()) {
                    }

                    float c;
                    float f;
                    if (modw.currentMode.equals("Shader")) {
                        mc.mntsb_13.drawString(module.getLabel(), 3.39F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                        mc.mntsb_13.drawString("[" + Keyboard.getKeyName(module.getBind()) + "]", 90.29F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                        mc.rubik_15.drawString("      PastedKeys", 18.39F, yPotionOffset - 1, Color.WHITE.getRGB());
                        RenderUtils.drawRect2(2.5, yPotionOffset - 8, 101, 1F, ClientHelper.getClientColor().getRGB());
                    }

                    if (modw.currentMode.equals("New")) {
                        ClientHelper.mc.mntsb_18.drawString(module.getLabel().toLowerCase(), 4.0F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 4), Color.WHITE.getRGB());
                    }

                    y += (int) (this.offsetY.getCurrentValue() * module.animYto);
                    GL11.glPopMatrix();
                    GLUtils.INSTANCE.rescaleMC();

                }
            }
        }
    }
 
Начинающий
Статус
Оффлайн
Регистрация
14 Дек 2022
Сообщения
171
Реакции[?]
3
Поинты[?]
2K
АХАХАХАХАХАХА АРРАЙЛИСТ ОСИУМА
 
Начинающий
Статус
Оффлайн
Регистрация
28 Янв 2023
Сообщения
61
Реакции[?]
5
Поинты[?]
2K
ждем метеор рекод релоаднд фри премиум б2 на базе осиума
 
Начинающий
Статус
Оффлайн
Регистрация
16 Фев 2023
Сообщения
229
Реакции[?]
4
Поинты[?]
1K
ура осиум
 
Начинающий
Статус
Оффлайн
Регистрация
1 Окт 2022
Сообщения
214
Реакции[?]
2
Поинты[?]
1K
Чуть чуть переделал и добавил Draggable)
Для самых ленивых:

LenivieVi=).class:
package xyz.superpasta.cc.module.Hud;

import ti.ze.ne.lenivaia.zopa?

public class NePon extends Module {
    public float scale = 2.0F;
    public static ListSetting modw = new ListSetting("List Mode", "Shader", () -> {
        return true;
    }, new String[]{"Shader", "New"});
    public static BooleanSetting background = new BooleanSetting("Background", true, () -> {
        return true;
    });
    public static BooleanSetting right = new BooleanSetting("Right", false, () -> {
        return false;
    });
    public NumberSetting offsetY = new NumberSetting("Offset Y", 10.78F, 10.0F, 12.0F, 0.01F, () -> {
        return true;
    });
    public static NumberSetting roundvalue = new NumberSetting("Round Value", 5.0F, 2.0F, 6.0F, 1.0F, () -> {
        return modw.currentMode.equals("New");
    });
    public BooleanSetting rightBorder = new BooleanSetting("Left Border", true, () -> {
        return true;
    });
    public BooleanSetting onlyBinds = new BooleanSetting("Only Binds", true, () -> {
        return true;
    });
    public BooleanSetting noVisualModules = new BooleanSetting("No Visuals", false, () -> {
        return true;
    });
    public BooleanSetting glow = new BooleanSetting("Glow", false, () -> {
        return true;
    });
    public BooleanSetting lowercase = new BooleanSetting("LowerCase", false, () -> {
        return true;
    });
    public ColorSetting eblo = new ColorSetting("Border Color", (new Color(255, 255, 255)).getRGB(), () -> {
        return true;
    });
    public ColorSetting ebalocolor = new ColorSetting("Text Color", (new Color(255, 255, 255)).getRGB(), () -> {
        return true;
    });
    public NumberSetting glowRadius = new NumberSetting("Glow Radius", 10.0F, 0.0F, 50.0F, 1.0F, () -> {
        return this.glow.getCurrentValue();
    });
    public NumberSetting glowAlpha = new NumberSetting("Glow Alpha", 80.0F, 30.0F, 255.0F, 1.0F, () -> {
        return this.glow.getCurrentValue();
    });

    public NePon() {
        super("KeyBinds", "Показывает лист модулей, которые включены", ModuleCategory.Render);
    }

    @EventTarget
    public void Event2D(EventRender2D event) {
        DragKeys sus = (DragKeys) AAASYPERPASTACLIENT.instance.draggableHUD.getDraggableComponentByClass(DragKeys.class);
            List<Module> activeModules = AAASYPERPASTACLIENT.instance.featureManager.getAllFeatures();
            activeModules.sort(Comparator.comparingDouble((s) -> {
                return (double) (-mc.mntsb_18.getStringWidth(s.getLabel()));
            }));
            float displayWidth = (float) event.getResolution().getScaledWidth() * ((float) event.getResolution().getScaleFactor() / 2.0F);
            float yPotionOffset = sus.getY();
            if (this.isEnabled()) {

                activeModules.sort(Comparator.comparingDouble((s) -> {
                    return (double) (-ClientHelper.mc.mntsb_18.getStringWidth(s.getLabel()));
                }));
                Iterator var5 = Helper.mc.player.getActivePotionEffects().iterator();

                while (var5.hasNext()) {
                    PotionEffect potionEffect = (PotionEffect) var5.next();
                    if (potionEffect.getPotion().isBeneficial()) {
                        yPotionOffset = sus.getY();
                    }

                    if (potionEffect.getPotion().isBadEffect()) {
                        yPotionOffset = sus.getY();
                    }
                }

                int y = (int) (5.0F + yPotionOffset);
                int yTotal = 0;

                for (int i = 0; i < AAASYPERPASTACLIENT.instance.featureManager.getAllFeatures().size(); ++i) {
                    yTotal += ClientHelper.mc.mntsb_18.getFontHeight() + 3;
                }
                Iterator var12 = activeModules.iterator();

                while (true) {
                    Module module;
                    do {
                        do {
                            do {
                                do {
                                    if (!var12.hasNext()) {
                                        return;
                                    }

                                    module = (Module) var12.next();
                                    if (modw.currentMode.equals("Shader")) {
                                        module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 1.0F : 0.0F, (float) (1233.0 * AAASYPERPASTACLIENT.deltaTime()), (float) (1233.0 * AAASYPERPASTACLIENT.deltaTime()), (float) AAASYPERPASTACLIENT.deltaTime());
                                    }

                                    if (modw.currentMode.equals("New")) {
                                        module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 0.99F : 0.0F, (float) (2.0 * AAASYPERPASTACLIENT.deltaTime()), (float) (7.0 * AAASYPERPASTACLIENT.deltaTime()), (float) AAASYPERPASTACLIENT.deltaTime());
                                    }
                                } while (!(module.animYto > 0.0F));
                            } while (module.getLabel().equals("ClickGui"));
                        } while (this.noVisualModules.getCurrentValue() && module.getCategory() == ModuleCategory.Render);
                    } while (this.onlyBinds.getCurrentValue() && module.getBind() == 0);
                    GLUtils.INSTANCE.rescaleMC();

                    GL11.glPushMatrix();
                    GL11.glTranslated((double) sus.getX(), (double) y, 1.0);
                    GL11.glScaled(1.0, (double) module.animYto, 10.0);
                    GL11.glTranslated(-1.0, (double) (-y), 1.0);

                    RoundedUtil.drawGradientRound(3, yPotionOffset - 7, 100, 13, 0, new Color(0, 0, 0), new Color(0, 0, 0), new Color(0, 0, 0), new Color(0, 0, 0));
                    RoundedUtil.drawGradientRound(3F, (float) y + 2.2F, 100, 10.55F - 2.3F, 0.0F, new Color(0, 0, 0, 160), new Color(0, 0, 0, 160), new Color(0, 0, 0, 160), new Color(0, 0, 0, 160));

                    //RenderUtils.drawRect2(3, yPotionOffset + 6, 100, 0.7F,new Color(88, 88, 88, 150).getRGB());
                    RenderUtils.drawRect2(2.5, yPotionOffset - 8, 101, 1F, ClientHelper.getClientColor().getRGB());

                    Object backGroundColorMode;
                    if (this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue()) {
                        backGroundColorMode = null;

                        RenderUtils.drawRect(-1.0, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) ((float) y + this.offsetY.getCurrentValue()), RenderUtils.injectAlpha(ClientHelper.getClientColor((float) y, (float) yTotal, 192), 200).getRGB());
                    }

                    if (!this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue() && !this.rightBorder.getCurrentValue()) {
                        backGroundColorMode = null;
                        RenderUtils.drawRect2(-0.4, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) this.offsetY.getCurrentValue(), ClientHelper.getClientColor().getRGB());
                    }

                    if (!this.lowercase.getCurrentValue() && modw.currentMode.equals("New") && background.getCurrentValue() && this.rightBorder.getCurrentValue()) {
                        backGroundColorMode = null;
                        RenderUtils.drawRect2(-0.4, (double) y, (double) (ClientHelper.mc.mntsb_18.getStringWidth(module.getLabel()) + 6), (double) this.offsetY.getCurrentValue(), ClientHelper.getClientColor().getRGB());
                    }

                    if (modw.currentMode.equals("New") && this.rightBorder.getCurrentValue()) {
                        RenderUtils.drawRect2(2.9, (double) y, 0.2, (double) ((float) y + this.offsetY.getCurrentValue()), Color.WHITE.getRGB());
                    }

                    if (modw.currentMode.equals("Shader") && this.rightBorder.getCurrentValue()) {
                    }

                    float c;
                    float f;
                    if (modw.currentMode.equals("Shader")) {
                        mc.mntsb_13.drawString(module.getLabel(), 3.39F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                        mc.mntsb_13.drawString("[" + Keyboard.getKeyName(module.getBind()) + "]", 90.29F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                        mc.rubik_15.drawString("      PastedKeys", 18.39F, yPotionOffset - 1, Color.WHITE.getRGB());
                        RenderUtils.drawRect2(2.5, yPotionOffset - 8, 101, 1F, ClientHelper.getClientColor().getRGB());
                    }

                    if (modw.currentMode.equals("New")) {
                        ClientHelper.mc.mntsb_18.drawString(module.getLabel().toLowerCase(), 4.0F, (float) (y + ClientHelper.mc.mntsb_18.getFontHeight() - 4), Color.WHITE.getRGB());
                    }

                    y += (int) (this.offsetY.getCurrentValue() * module.animYto);
                    GL11.glPopMatrix();
                    GLUtils.INSTANCE.rescaleMC();

                }
            }
        }
    }
Ужас.
 
Начинающий
Статус
Оффлайн
Регистрация
17 Апр 2023
Сообщения
152
Реакции[?]
1
Поинты[?]
0
Feel TheSense
Забаненный
Статус
Оффлайн
Регистрация
20 Май 2023
Сообщения
89
Реакции[?]
23
Поинты[?]
5K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Ептеть я то думал опять для лв модные бинды...
 
Сверху Снизу