Исходник KeyBinds + Staff Statistic (Rich Ready,Meteor Ready)

Начинающий
Статус
Оффлайн
Регистрация
24 Июл 2022
Сообщения
128
Реакции[?]
4
Поинты[?]
0
KeyBinds + Staff Statistic (Rich Ready,Meteor Ready)
KeyBinds:
package fucin.scymmer.module.impl.Render;

import fucin.scymmer.NativeCC;
import fucin.scymmer.event.EventTarget;
import fucin.scymmer.event.events.impl.render.EventRender2D;
import fucin.scymmer.module.Module;
import fucin.scymmer.module.ModuleCategory;
import fucin.scymmer.ui.settings.Setting;
import fucin.scymmer.ui.settings.impl.BooleanSetting;
import fucin.scymmer.ui.settings.impl.ColorSetting;
import fucin.scymmer.ui.settings.impl.ListSetting;
import fucin.scymmer.ui.settings.impl.NumberSetting;
import fucin.scymmer.utils.Helper;
import fucin.scymmer.utils.math.AnimationHelper;
import fucin.scymmer.utils.render.ClientHelper;
import fucin.scymmer.utils.render.GLUtils;
import fucin.scymmer.utils.render.RenderUtils;
import fucin.scymmer.utils.render.RoundedUtil;
import net.minecraft.potion.PotionEffect;
import org.lwjgl.opengl.GL11;

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

public class KeyBind 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 NumberSetting y = new NumberSetting("Pos Y", 15.0F, -6.0F, 1000.0F, 0.01F, () -> {
        return true;
    });
    public NumberSetting x = new NumberSetting("Pos X", 15.0F, 1.2F, 1000.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 KeyBind() {
        super("KeyBind", "Показывает лист модулей, которые включены", ModuleCategory.Render);
        this.addSettings(new Setting[]{ this.y, this.x});
    }

    @EventTarget
    public void Event2D(EventRender2D event) {
        if (this.isEnabled()) {
            List<Module> activeModules = NativeCC.instance.featureManager.getAllFeatures();
            activeModules.sort(Comparator.comparingDouble((s) -> {
                return (double)(-ClientHelper.mc.mntsb_18.getStringWidth(s.getLabel()));
            }));
            float displayWidth = (float)event.getResolution().getScaledWidth() * ((float)event.getResolution().getScaleFactor() / 2.0F);
            float yPotionOffset = this.y.getCurrentValue();
            Iterator var5 = Helper.mc.player.getActivePotionEffects().iterator();

            while(var5.hasNext()) {
                PotionEffect potionEffect = (PotionEffect)var5.next();
                if (potionEffect.getPotion().isBeneficial()) {
                    yPotionOffset = this.y.getCurrentValue();
                }

                if (potionEffect.getPotion().isBadEffect()) {
                    yPotionOffset = this.y.getCurrentValue();
                }
            }

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

            for(int i = 0; i < NativeCC.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 * NativeCC.deltaTime()), (float)(1233.0 * NativeCC.deltaTime()), (float)NativeCC.deltaTime());
                                }

                                if (modw.currentMode.equals("New")) {
                                    module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 0.99F : 0.0F, (float)(2.0 * NativeCC.deltaTime()), (float)(7.0 * NativeCC.deltaTime()), (float)NativeCC.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)this.x.getCurrentValue(), (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("[on]", 90.29F, (float)(y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                    mc.mntsb_15.drawString("      KeyBinds", 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();

            }
        }
    }
}
Staff Statistic:
package fucin.scymmer.module.impl.Render;

import fucin.scymmer.NativeCC;
import fucin.scymmer.drag.comp.impl.DraggStaffList;
import fucin.scymmer.event.EventTarget;
import fucin.scymmer.event.events.impl.render.EventRender2D;
import fucin.scymmer.module.Module;
import fucin.scymmer.module.ModuleCategory;
import fucin.scymmer.ui.settings.impl.ListSetting;
import fucin.scymmer.utils.Helper;
import fucin.scymmer.utils.render.ClientHelper;
import fucin.scymmer.utils.render.RenderUtils;
import fucin.scymmer.utils.render.RoundedUtil;
import moonlight.nativeobfuscator.Native;
import net.minecraft.client.gui.GuiPlayerTabOverlay;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.text.TextFormatting;

import java.awt.*;
import java.util.ArrayList;

[USER=20295]@NATIVE[/USER]
public class StaffList
        extends Module {
    int x2;
    int y2;
    int height;
    public static float progress;
    private long lastMS;
    public static boolean a;
    public static ListSetting mode;
    public static float indicatorTimer;
    public float scale = 2.0f;

    public StaffList() {
        super("StaffList", ModuleCategory.Util);
    }

    @EventTarget
    public void render(EventRender2D render) {
        DraggStaffList dsi;
        GlStateManager.pushMatrix();
        GlStateManager.enableTexture2D();
        this.x2 = 7;
        this.y2 = 50;
        GlStateManager.pushMatrix();
        GlStateManager.enableAlpha();
        new ArrayList();
        if (StaffList.mode.currentMode.equalsIgnoreCase("Mode 1")) {
            dsi = (DraggStaffList) NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
            dsi.setWidth(155);
            dsi.setHeight(56);
            RenderUtils.drawBlurredShadow(dsi.getX() + this.x2 - 2, dsi.getY() + this.y2, 174.0f, 15 + this.height, 15, new Color(28, 28, 28));
            RoundedUtil.drawRound(dsi.getX() + this.x2 - 2, dsi.getY() + this.y2, 174.0f, 15 + this.height, 2.0f, new Color(28, 28, 28));
            Helper.mc.mont20.drawString("StaffList", dsi.getX() + this.x2 + 1, dsi.getY() + this.y2 + 3, ClientHelper.getClientColor().getRGB());
        }
        if (StaffAlert.staff.isEmpty()) {
            dsi = (DraggStaffList) NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
            dsi.setWidth(155);
            dsi.setHeight(56);
            if (mode.getCurrentMode().equalsIgnoreCase("Mode 2")) {
                Helper.mc.mont16.drawString("\u041d\u0435\u0442 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0430", (float)(dsi.getX() + this.x2) + 3.5f, (float)(dsi.getY() + this.y2 + this.height) + 7.5f, ClientHelper.getClientColor().getRGB());
            } else {
                Helper.mc.mont16.drawString("\u041d\u0435\u0442 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0430", dsi.getX() + this.x2 + 1, dsi.getY() + this.y2 + this.height + 6, ClientHelper.getClientColor().getRGB());
            }
            this.height = 10;
        } else {
            for (EntityPlayer staff : StaffAlert.staff) {
                dsi = (DraggStaffList)NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
                dsi.setWidth(155);
                dsi.setHeight(56);
                Helper.mc.mont16.drawStringWithShadow(GuiPlayerTabOverlay.getPlayers().contains(staff) ? staff.getDisplayName().getUnformattedText() : (Object)((Object)TextFormatting.GREEN) + "(Online) " + (Object)((Object)TextFormatting.RESET) + staff.getDisplayName().getUnformattedText(), dsi.getX() + this.x2 + 5, dsi.getY() + this.y2 + (StaffAlert.staff.indexOf(staff) + 1) * 10 + 6, Color.GRAY.getRGB());
                this.height = StaffAlert.staff.size() * 10;
                if (mc.world != null) continue;
                StaffAlert.staff.remove(staff);
            }
        }
        GlStateManager.popMatrix();
        GlStateManager.disableAlpha();
        GlStateManager.enableDepth();
        GlStateManager.disableLighting();
        GlStateManager.popMatrix();
    }

    @Override
    public void onEnable() {
        indicatorTimer = 0.0f;
        this.lastMS = System.currentTimeMillis();
        progress = 0.0f;
        super.onEnable();
    }

    static {
        a = false;
        mode = new ListSetting("Mode", "Mode 1", () -> true, "Mode 1");
    }
}
я эти кейбинды сделал еще вчера утром
 
Начинающий
Статус
Оффлайн
Регистрация
27 Июн 2022
Сообщения
28
Реакции[?]
1
Поинты[?]
1K
KeyBinds + Staff Statistic (Rich Ready,Meteor Ready)
KeyBinds:
package fucin.scymmer.module.impl.Render;

import fucin.scymmer.NativeCC;
import fucin.scymmer.event.EventTarget;
import fucin.scymmer.event.events.impl.render.EventRender2D;
import fucin.scymmer.module.Module;
import fucin.scymmer.module.ModuleCategory;
import fucin.scymmer.ui.settings.Setting;
import fucin.scymmer.ui.settings.impl.BooleanSetting;
import fucin.scymmer.ui.settings.impl.ColorSetting;
import fucin.scymmer.ui.settings.impl.ListSetting;
import fucin.scymmer.ui.settings.impl.NumberSetting;
import fucin.scymmer.utils.Helper;
import fucin.scymmer.utils.math.AnimationHelper;
import fucin.scymmer.utils.render.ClientHelper;
import fucin.scymmer.utils.render.GLUtils;
import fucin.scymmer.utils.render.RenderUtils;
import fucin.scymmer.utils.render.RoundedUtil;
import net.minecraft.potion.PotionEffect;
import org.lwjgl.opengl.GL11;

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

public class KeyBind 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 NumberSetting y = new NumberSetting("Pos Y", 15.0F, -6.0F, 1000.0F, 0.01F, () -> {
        return true;
    });
    public NumberSetting x = new NumberSetting("Pos X", 15.0F, 1.2F, 1000.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 KeyBind() {
        super("KeyBind", "Показывает лист модулей, которые включены", ModuleCategory.Render);
        this.addSettings(new Setting[]{ this.y, this.x});
    }

    @EventTarget
    public void Event2D(EventRender2D event) {
        if (this.isEnabled()) {
            List<Module> activeModules = NativeCC.instance.featureManager.getAllFeatures();
            activeModules.sort(Comparator.comparingDouble((s) -> {
                return (double)(-ClientHelper.mc.mntsb_18.getStringWidth(s.getLabel()));
            }));
            float displayWidth = (float)event.getResolution().getScaledWidth() * ((float)event.getResolution().getScaleFactor() / 2.0F);
            float yPotionOffset = this.y.getCurrentValue();
            Iterator var5 = Helper.mc.player.getActivePotionEffects().iterator();

            while(var5.hasNext()) {
                PotionEffect potionEffect = (PotionEffect)var5.next();
                if (potionEffect.getPotion().isBeneficial()) {
                    yPotionOffset = this.y.getCurrentValue();
                }

                if (potionEffect.getPotion().isBadEffect()) {
                    yPotionOffset = this.y.getCurrentValue();
                }
            }

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

            for(int i = 0; i < NativeCC.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 * NativeCC.deltaTime()), (float)(1233.0 * NativeCC.deltaTime()), (float)NativeCC.deltaTime());
                                }

                                if (modw.currentMode.equals("New")) {
                                    module.animYto = AnimationHelper.Move(module.animYto, module.isEnabled() ? 0.99F : 0.0F, (float)(2.0 * NativeCC.deltaTime()), (float)(7.0 * NativeCC.deltaTime()), (float)NativeCC.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)this.x.getCurrentValue(), (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("[on]", 90.29F, (float)(y + ClientHelper.mc.mntsb_18.getFontHeight() - 2), Color.WHITE.getRGB());
                    mc.mntsb_15.drawString("      KeyBinds", 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();

            }
        }
    }
}
Staff Statistic:
package fucin.scymmer.module.impl.Render;

import fucin.scymmer.NativeCC;
import fucin.scymmer.drag.comp.impl.DraggStaffList;
import fucin.scymmer.event.EventTarget;
import fucin.scymmer.event.events.impl.render.EventRender2D;
import fucin.scymmer.module.Module;
import fucin.scymmer.module.ModuleCategory;
import fucin.scymmer.ui.settings.impl.ListSetting;
import fucin.scymmer.utils.Helper;
import fucin.scymmer.utils.render.ClientHelper;
import fucin.scymmer.utils.render.RenderUtils;
import fucin.scymmer.utils.render.RoundedUtil;
import moonlight.nativeobfuscator.Native;
import net.minecraft.client.gui.GuiPlayerTabOverlay;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.text.TextFormatting;

import java.awt.*;
import java.util.ArrayList;

[USER=20295]@NATIVE[/USER]
public class StaffList
        extends Module {
    int x2;
    int y2;
    int height;
    public static float progress;
    private long lastMS;
    public static boolean a;
    public static ListSetting mode;
    public static float indicatorTimer;
    public float scale = 2.0f;

    public StaffList() {
        super("StaffList", ModuleCategory.Util);
    }

    @EventTarget
    public void render(EventRender2D render) {
        DraggStaffList dsi;
        GlStateManager.pushMatrix();
        GlStateManager.enableTexture2D();
        this.x2 = 7;
        this.y2 = 50;
        GlStateManager.pushMatrix();
        GlStateManager.enableAlpha();
        new ArrayList();
        if (StaffList.mode.currentMode.equalsIgnoreCase("Mode 1")) {
            dsi = (DraggStaffList) NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
            dsi.setWidth(155);
            dsi.setHeight(56);
            RenderUtils.drawBlurredShadow(dsi.getX() + this.x2 - 2, dsi.getY() + this.y2, 174.0f, 15 + this.height, 15, new Color(28, 28, 28));
            RoundedUtil.drawRound(dsi.getX() + this.x2 - 2, dsi.getY() + this.y2, 174.0f, 15 + this.height, 2.0f, new Color(28, 28, 28));
            Helper.mc.mont20.drawString("StaffList", dsi.getX() + this.x2 + 1, dsi.getY() + this.y2 + 3, ClientHelper.getClientColor().getRGB());
        }
        if (StaffAlert.staff.isEmpty()) {
            dsi = (DraggStaffList) NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
            dsi.setWidth(155);
            dsi.setHeight(56);
            if (mode.getCurrentMode().equalsIgnoreCase("Mode 2")) {
                Helper.mc.mont16.drawString("\u041d\u0435\u0442 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0430", (float)(dsi.getX() + this.x2) + 3.5f, (float)(dsi.getY() + this.y2 + this.height) + 7.5f, ClientHelper.getClientColor().getRGB());
            } else {
                Helper.mc.mont16.drawString("\u041d\u0435\u0442 \u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0430", dsi.getX() + this.x2 + 1, dsi.getY() + this.y2 + this.height + 6, ClientHelper.getClientColor().getRGB());
            }
            this.height = 10;
        } else {
            for (EntityPlayer staff : StaffAlert.staff) {
                dsi = (DraggStaffList)NativeCC.instance.draggableHUD.getDraggableComponentByClass(DraggStaffList.class);
                dsi.setWidth(155);
                dsi.setHeight(56);
                Helper.mc.mont16.drawStringWithShadow(GuiPlayerTabOverlay.getPlayers().contains(staff) ? staff.getDisplayName().getUnformattedText() : (Object)((Object)TextFormatting.GREEN) + "(Online) " + (Object)((Object)TextFormatting.RESET) + staff.getDisplayName().getUnformattedText(), dsi.getX() + this.x2 + 5, dsi.getY() + this.y2 + (StaffAlert.staff.indexOf(staff) + 1) * 10 + 6, Color.GRAY.getRGB());
                this.height = StaffAlert.staff.size() * 10;
                if (mc.world != null) continue;
                StaffAlert.staff.remove(staff);
            }
        }
        GlStateManager.popMatrix();
        GlStateManager.disableAlpha();
        GlStateManager.enableDepth();
        GlStateManager.disableLighting();
        GlStateManager.popMatrix();
    }

    @Override
    public void onEnable() {
        indicatorTimer = 0.0f;
        this.lastMS = System.currentTimeMillis();
        progress = 0.0f;
        super.onEnable();
    }

    static {
        a = false;
        mode = new ListSetting("Mode", "Mode 1", () -> true, "Mode 1");
    }
}
у меня не импортяться NativeCC чё делать
 
Новичок
Статус
Оффлайн
Регистрация
8 Апр 2023
Сообщения
1
Реакции[?]
0
Поинты[?]
0
Где создавать или Куда кидать этот исходиник ( Рич клиент 0 3 2)
 
Начинающий
Статус
Оффлайн
Регистрация
5 Янв 2023
Сообщения
49
Реакции[?]
1
Поинты[?]
1K
Начинающий
Статус
Оффлайн
Регистрация
12 Сен 2022
Сообщения
308
Реакции[?]
7
Поинты[?]
3K
Где создавать или Куда кидать этот исходиник ( Рич клиент 0 3 2)
вернтай (админ штормхвх) нужно создать класс KeyBinds и StaffStatistic и скопировать данный исходник туда
 
Начинающий
Статус
Оффлайн
Регистрация
1 Июн 2023
Сообщения
2
Реакции[?]
0
Поинты[?]
0
скажите пожалуйста как вставлять этот код в сурсы рича и куда я просто начинающий
 
Начинающий
Статус
Оффлайн
Регистрация
14 Дек 2022
Сообщения
46
Реакции[?]
2
Поинты[?]
1K
Начинающий
Статус
Оффлайн
Регистрация
26 Ноя 2022
Сообщения
177
Реакции[?]
3
Поинты[?]
1K
ну все напастить да, это 55 - 65 процентов, все подсчитал, да? сын логгера
щас бы меня называть "сыном логгера", когда даже в логгер не лез.
55 - 65 процентов - примерно, ничего я не подписчитывал.
жду очередного пустословия в мою сторону.
 
Сверху Снизу