Исходник HPHelper | Expensive 2.0 Intellij Idea

Начинающий
Статус
Оффлайн
Регистрация
26 Мар 2024
Сообщения
42
Реакции[?]
0
Поинты[?]
0

Перед прочтением основного контента ниже, пожалуйста, обратите внимание на обновление внутри секции Майна на нашем форуме. У нас появились:

  • бесплатные читы для Майнкрафт — любое использование на свой страх и риск;
  • маркетплейс Майнкрафт — абсолютно любая коммерция, связанная с игрой, за исключением продажи читов (аккаунты, предоставления услуг, поиск кодеров читов и так далее);
  • приватные читы для Minecraft — в этом разделе только платные хаки для игры, покупайте группу "Продавец" и выставляйте на продажу свой софт;
  • обсуждения и гайды — всё тот же раздел с вопросами, но теперь модернизированный: поиск нужных хаков, пати с игроками-читерами и другая полезная информация.

Спасибо!

Ну короче сижу такой и думаю что же сделать и я сделал для ваших паст :roflanEbalo: функцию скоро буду делать как в вилде(no ad) штуку а пока такой держите HPHelper

Слышишь майнкрафт апи учи заебал:
package ru.north.modules.impl.display;

import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.util.math.MathHelper;
import ru.north.Main;
import ru.north.events.impl.render.EventRender;
import ru.north.modules.Module;
import ru.north.modules.ModuleAnnotation;
import ru.north.modules.Type;
import ru.north.modules.settings.imp.BooleanOption;
import ru.north.util.drag.Dragging;
import ru.north.util.font.Fonts;
import ru.north.util.font.styled.StyledFont;
import ru.north.util.misc.TimerUtil;
import ru.north.util.render.ColorUtil;
import ru.north.util.render.RenderUtil;
import ru.north.util.render.animation.AnimationMath;

import java.awt.*;

@ModuleAnnotation(name = "HPHelper", type = Type.Display)
public class HPHelper extends Module {
    private final TimerUtil timerUtil = new TimerUtil();
    final StyledFont medium;
    final int g_color;
    final int t_color;
    final int gr_color;
    final int w_color;
    final int red_color;
    final Dragging HPHelper;
    public BooleanOption text;
    float health;

    public HPHelper() {
        this.medium = Fonts.msMedium[16];
        this.g_color = Color.darkGray.getRGB();
        this.t_color = Color.ORANGE.getRGB();
        this.gr_color = Color.green.getRGB();
        this.w_color = Color.WHITE.getRGB();
        this.red_color = Color.red.getRGB();
        this.HPHelper = Main.createDrag(this, "HPHelper", 10.0F, 200.0F);
//        this.text = new BooleanOption("Показывать текст", true);
        this.health = 0.0F;
        this.addSettings();
    }


    private void renderTest(MatrixStack matrixStack) {
        float x = this.HPHelper.getX();
        float y = this.HPHelper.getY();
        this.health = AnimationMath.fast(this.health, mc.player.getHealth() / mc.player.getMaxHealth(), 5.0F);
        this.health = MathHelper.clamp(this.health, 0.0F, 1.0F);
        float width = 80.0F;
        float height = 9.0F;
        RenderUtil.Render2D.drawRoundedCorner(x, y, width, height, 2.5F, (new Color(24, 23, 23, 242)).getRGB());
        RenderUtil.Render2D.drawGradientRound(x, y + 1.0F, width * this.health, height - 2.0F, 2.5F, ColorUtil.getColorStyle(0.0F), ColorUtil.getColorStyle(90.0F), ColorUtil.getColorStyle(180.0F), ColorUtil.getColorStyle(270.0F));
        StyledFont small = Fonts.msBold[15];
        String HPPlayer = String.valueOf(mc.player.getHealth());
        String HP = HPPlayer.substring(0, Math.min(HPPlayer.length(), 4));
        small.drawString(matrixStack, String.valueOf("HP: " + HP), (double)x, (double)(y - 7.0F), (new Color(255, 255, 255, 255)).getRGB());
        this.HPHelper.setWidth(width);
        this.HPHelper.setHeight(height);
    }

    public void onDisable() {
        super.onDisable();
    }

    @Override
    public void onEvent(ru.north.events.Event event) {
        if (event instanceof EventRender e) {
            if (e.isRender2D()) {
                MatrixStack matrixStack = e.matrixStack;
                this.renderTest(matrixStack);
            }
        }
    }
}
SS: 1712391320316.png
 
Начинающий
Статус
Оффлайн
Регистрация
7 Мар 2024
Сообщения
294
Реакции[?]
6
Поинты[?]
4K
Ну короче сижу такой и думаю что же сделать и я сделал для ваших паст :roflanEbalo: функцию скоро буду делать как в вилде(no ad) штуку а пока такой держите HPHelper

Слышишь майнкрафт апи учи заебал:
package ru.north.modules.impl.display;

import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.util.math.MathHelper;
import ru.north.Main;
import ru.north.events.impl.render.EventRender;
import ru.north.modules.Module;
import ru.north.modules.ModuleAnnotation;
import ru.north.modules.Type;
import ru.north.modules.settings.imp.BooleanOption;
import ru.north.util.drag.Dragging;
import ru.north.util.font.Fonts;
import ru.north.util.font.styled.StyledFont;
import ru.north.util.misc.TimerUtil;
import ru.north.util.render.ColorUtil;
import ru.north.util.render.RenderUtil;
import ru.north.util.render.animation.AnimationMath;

import java.awt.*;

@ModuleAnnotation(name = "HPHelper", type = Type.Display)
public class HPHelper extends Module {
    private final TimerUtil timerUtil = new TimerUtil();
    final StyledFont medium;
    final int g_color;
    final int t_color;
    final int gr_color;
    final int w_color;
    final int red_color;
    final Dragging HPHelper;
    public BooleanOption text;
    float health;

    public HPHelper() {
        this.medium = Fonts.msMedium[16];
        this.g_color = Color.darkGray.getRGB();
        this.t_color = Color.ORANGE.getRGB();
        this.gr_color = Color.green.getRGB();
        this.w_color = Color.WHITE.getRGB();
        this.red_color = Color.red.getRGB();
        this.HPHelper = Main.createDrag(this, "HPHelper", 10.0F, 200.0F);
//        this.text = new BooleanOption("Показывать текст", true);
        this.health = 0.0F;
        this.addSettings();
    }


    private void renderTest(MatrixStack matrixStack) {
        float x = this.HPHelper.getX();
        float y = this.HPHelper.getY();
        this.health = AnimationMath.fast(this.health, mc.player.getHealth() / mc.player.getMaxHealth(), 5.0F);
        this.health = MathHelper.clamp(this.health, 0.0F, 1.0F);
        float width = 80.0F;
        float height = 9.0F;
        RenderUtil.Render2D.drawRoundedCorner(x, y, width, height, 2.5F, (new Color(24, 23, 23, 242)).getRGB());
        RenderUtil.Render2D.drawGradientRound(x, y + 1.0F, width * this.health, height - 2.0F, 2.5F, ColorUtil.getColorStyle(0.0F), ColorUtil.getColorStyle(90.0F), ColorUtil.getColorStyle(180.0F), ColorUtil.getColorStyle(270.0F));
        StyledFont small = Fonts.msBold[15];
        String HPPlayer = String.valueOf(mc.player.getHealth());
        String HP = HPPlayer.substring(0, Math.min(HPPlayer.length(), 4));
        small.drawString(matrixStack, String.valueOf("HP: " + HP), (double)x, (double)(y - 7.0F), (new Color(255, 255, 255, 255)).getRGB());
        this.HPHelper.setWidth(width);
        this.HPHelper.setHeight(height);
    }

    public void onDisable() {
        super.onDisable();
    }

    @Override
    public void onEvent(ru.north.events.Event event) {
        if (event instanceof EventRender e) {
            if (e.isRender2D()) {
                MatrixStack matrixStack = e.matrixStack;
                this.renderTest(matrixStack);
            }
        }
    }
}
SS: Посмотреть вложение 274170
/del с катлавана
 
Начинающий
Статус
Оффлайн
Регистрация
16 Дек 2023
Сообщения
449
Реакции[?]
8
Поинты[?]
4K
Ну короче сижу такой и думаю что же сделать и я сделал для ваших паст :roflanEbalo: функцию скоро буду делать как в вилде(no ad) штуку а пока такой держите HPHelper

Слышишь майнкрафт апи учи заебал:
package ru.north.modules.impl.display;

import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.util.math.MathHelper;
import ru.north.Main;
import ru.north.events.impl.render.EventRender;
import ru.north.modules.Module;
import ru.north.modules.ModuleAnnotation;
import ru.north.modules.Type;
import ru.north.modules.settings.imp.BooleanOption;
import ru.north.util.drag.Dragging;
import ru.north.util.font.Fonts;
import ru.north.util.font.styled.StyledFont;
import ru.north.util.misc.TimerUtil;
import ru.north.util.render.ColorUtil;
import ru.north.util.render.RenderUtil;
import ru.north.util.render.animation.AnimationMath;

import java.awt.*;

@ModuleAnnotation(name = "HPHelper", type = Type.Display)
public class HPHelper extends Module {
    private final TimerUtil timerUtil = new TimerUtil();
    final StyledFont medium;
    final int g_color;
    final int t_color;
    final int gr_color;
    final int w_color;
    final int red_color;
    final Dragging HPHelper;
    public BooleanOption text;
    float health;

    public HPHelper() {
        this.medium = Fonts.msMedium[16];
        this.g_color = Color.darkGray.getRGB();
        this.t_color = Color.ORANGE.getRGB();
        this.gr_color = Color.green.getRGB();
        this.w_color = Color.WHITE.getRGB();
        this.red_color = Color.red.getRGB();
        this.HPHelper = Main.createDrag(this, "HPHelper", 10.0F, 200.0F);
//        this.text = new BooleanOption("Показывать текст", true);
        this.health = 0.0F;
        this.addSettings();
    }


    private void renderTest(MatrixStack matrixStack) {
        float x = this.HPHelper.getX();
        float y = this.HPHelper.getY();
        this.health = AnimationMath.fast(this.health, mc.player.getHealth() / mc.player.getMaxHealth(), 5.0F);
        this.health = MathHelper.clamp(this.health, 0.0F, 1.0F);
        float width = 80.0F;
        float height = 9.0F;
        RenderUtil.Render2D.drawRoundedCorner(x, y, width, height, 2.5F, (new Color(24, 23, 23, 242)).getRGB());
        RenderUtil.Render2D.drawGradientRound(x, y + 1.0F, width * this.health, height - 2.0F, 2.5F, ColorUtil.getColorStyle(0.0F), ColorUtil.getColorStyle(90.0F), ColorUtil.getColorStyle(180.0F), ColorUtil.getColorStyle(270.0F));
        StyledFont small = Fonts.msBold[15];
        String HPPlayer = String.valueOf(mc.player.getHealth());
        String HP = HPPlayer.substring(0, Math.min(HPPlayer.length(), 4));
        small.drawString(matrixStack, String.valueOf("HP: " + HP), (double)x, (double)(y - 7.0F), (new Color(255, 255, 255, 255)).getRGB());
        this.HPHelper.setWidth(width);
        this.HPHelper.setHeight(height);
    }

    public void onDisable() {
        super.onDisable();
    }

    @Override
    public void onEvent(ru.north.events.Event event) {
        if (event instanceof EventRender e) {
            if (e.isRender2D()) {
                MatrixStack matrixStack = e.matrixStack;
                this.renderTest(matrixStack);
            }
        }
    }
}
SS: Посмотреть вложение 274170
Хуйня которая показывает хп и драгг? Что за пиздец... Просто походу чел не может смотреть на хп и надо это :)
 
Начинающий
Статус
Оффлайн
Регистрация
5 Апр 2023
Сообщения
389
Реакции[?]
1
Поинты[?]
2K
Ну короче сижу такой и думаю что же сделать и я сделал для ваших паст :roflanEbalo: функцию скоро буду делать как в вилде(no ad) штуку а пока такой держите HPHelper

Слышишь майнкрафт апи учи заебал:
package ru.north.modules.impl.display;

import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.util.math.MathHelper;
import ru.north.Main;
import ru.north.events.impl.render.EventRender;
import ru.north.modules.Module;
import ru.north.modules.ModuleAnnotation;
import ru.north.modules.Type;
import ru.north.modules.settings.imp.BooleanOption;
import ru.north.util.drag.Dragging;
import ru.north.util.font.Fonts;
import ru.north.util.font.styled.StyledFont;
import ru.north.util.misc.TimerUtil;
import ru.north.util.render.ColorUtil;
import ru.north.util.render.RenderUtil;
import ru.north.util.render.animation.AnimationMath;

import java.awt.*;

@ModuleAnnotation(name = "HPHelper", type = Type.Display)
public class HPHelper extends Module {
    private final TimerUtil timerUtil = new TimerUtil();
    final StyledFont medium;
    final int g_color;
    final int t_color;
    final int gr_color;
    final int w_color;
    final int red_color;
    final Dragging HPHelper;
    public BooleanOption text;
    float health;

    public HPHelper() {
        this.medium = Fonts.msMedium[16];
        this.g_color = Color.darkGray.getRGB();
        this.t_color = Color.ORANGE.getRGB();
        this.gr_color = Color.green.getRGB();
        this.w_color = Color.WHITE.getRGB();
        this.red_color = Color.red.getRGB();
        this.HPHelper = Main.createDrag(this, "HPHelper", 10.0F, 200.0F);
//        this.text = new BooleanOption("Показывать текст", true);
        this.health = 0.0F;
        this.addSettings();
    }


    private void renderTest(MatrixStack matrixStack) {
        float x = this.HPHelper.getX();
        float y = this.HPHelper.getY();
        this.health = AnimationMath.fast(this.health, mc.player.getHealth() / mc.player.getMaxHealth(), 5.0F);
        this.health = MathHelper.clamp(this.health, 0.0F, 1.0F);
        float width = 80.0F;
        float height = 9.0F;
        RenderUtil.Render2D.drawRoundedCorner(x, y, width, height, 2.5F, (new Color(24, 23, 23, 242)).getRGB());
        RenderUtil.Render2D.drawGradientRound(x, y + 1.0F, width * this.health, height - 2.0F, 2.5F, ColorUtil.getColorStyle(0.0F), ColorUtil.getColorStyle(90.0F), ColorUtil.getColorStyle(180.0F), ColorUtil.getColorStyle(270.0F));
        StyledFont small = Fonts.msBold[15];
        String HPPlayer = String.valueOf(mc.player.getHealth());
        String HP = HPPlayer.substring(0, Math.min(HPPlayer.length(), 4));
        small.drawString(matrixStack, String.valueOf("HP: " + HP), (double)x, (double)(y - 7.0F), (new Color(255, 255, 255, 255)).getRGB());
        this.HPHelper.setWidth(width);
        this.HPHelper.setHeight(height);
    }

    public void onDisable() {
        super.onDisable();
    }

    @Override
    public void onEvent(ru.north.events.Event event) {
        if (event instanceof EventRender e) {
            if (e.isRender2D()) {
                MatrixStack matrixStack = e.matrixStack;
                this.renderTest(matrixStack);
            }
        }
    }
}
SS: Посмотреть вложение 274170
хоть и украл но похуй,но для чего это?
 
Пользователь
Статус
Оффлайн
Регистрация
18 Мар 2021
Сообщения
298
Реакции[?]
48
Поинты[?]
51K
когда же они про remapvalclamped узнают...............................
 
Начинающий
Статус
Оффлайн
Регистрация
20 Июн 2022
Сообщения
89
Реакции[?]
0
Поинты[?]
0
че это нахуй? Это создано для людей у которых блять хп не рендерится или что?
 
Начинающий
Статус
Оффлайн
Регистрация
26 Мар 2024
Сообщения
42
Реакции[?]
0
Поинты[?]
0
убейся, просто пропади нахуй со своей хуйней ебанной, я еще даже не говорю то что это МУСОР ебанный, от этого смысл такой-же как и коляски для 40 летнего здорового мужика. ТАК И ЕЩЕ ЭТО БЫЛО НЕ СДЕЛАНО ТОБОЙ, А ПРОСТО СПАЩЕНО :da: :bayan:
Мне сделать как в вилде ?
 
пон
Пользователь
Статус
Оффлайн
Регистрация
12 Июл 2023
Сообщения
104
Реакции[?]
46
Поинты[?]
13K
убейся, просто пропади нахуй со своей хуйней ебанной, я еще даже не говорю то что это МУСОР ебанный, от этого смысл такой-же как и коляски для 40 летнего здорового мужика. ТАК И ЕЩЕ ЭТО БЫЛО НЕ СДЕЛАНО ТОБОЙ, А ПРОСТО СПАЩЕНО :da: :bayan:
завидуешь пастер
 
Начинающий
Статус
Оффлайн
Регистрация
17 Май 2023
Сообщения
225
Реакции[?]
2
Поинты[?]
1K
/del + ban, за то что такую хуйню спащенную выкладывать... Лучше для пастеров напиши что то годное, а не то что можно сделать ctrl + c, ctrl + v
 
Сверху Снизу