• Ищем качественного (не новичок) разработчиков Xenforo для этого форума! В идеале, чтобы ты был фулл стек программистом. Если у тебя есть что показать, то свяжись с нами по контактным данным: https://t.me/DREDD

Красивый Hud для пасты [Expensive 2.0 Ready]

или другая иная паста, которая всем сердцем будет говорить с пеной у рта "ета не паста я селфкодил я ток фрикам спастил а всё ета селфкод"
которую вынесет даже Wexside Pre-Release.
 
Поможешь поменять за деньги ?
мой дс norveea
 
От такого говна я вскрыл вену ножом и взял верёвку взял стул повесил верёвку на потолок встал на стул и...
 
Основан на худе Vendex тык
основан notification на тык

Пожалуйста, авторизуйтесь для просмотра ссылки.

(если ты выбрал цвет в темах любой то тогда будет такого же цвета худ)

hud(сюда не могу вставить) -
Пожалуйста, авторизуйтесь для просмотра ссылки.


Пожалуйста, авторизуйтесь для просмотра ссылки.


Лютий код Notification:
Expand Collapse Copy
package wtf.nekoclient.notification;

import com.mojang.blaze3d.matrix.MatrixStack;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.potion.EffectInstance;
import wtf.nekoclient.managment.Managment;
import wtf.nekoclient.util.animations.Animation;
import wtf.nekoclient.util.animations.Direction;
import wtf.nekoclient.util.animations.impl.DecelerateAnimation;
import wtf.nekoclient.util.font.Fonts;
import wtf.nekoclient.util.render.ColorUtil;
import wtf.nekoclient.util.render.RenderUtil;
import wtf.nekoclient.util.render.animation.AnimationMath;

import java.util.Comparator;
import java.util.concurrent.CopyOnWriteArrayList;

import static wtf.nekoclient.util.IMinecraft.mc;
import static wtf.nekoclient.util.render.ColorUtil.getColorStyle;

public class NotificationManager {

    private final CopyOnWriteArrayList<Notification> notifications = new CopyOnWriteArrayList<>();

    public void add(String text, String content, int time) {
        notifications.add(new Notification(text, content, time));
    }


    public void draw(MatrixStack stack) {
        int yOffset = 0;
        for (Notification notification : notifications) {

            if (System.currentTimeMillis() - notification.getTime() > (notification.time2 * 1000L) - 300) {
                notification.animation.setDirection(Direction.BACKWARDS);
            } else {
                notification.yAnimation.setDirection(Direction.FORWARDS);
                notification.animation.setDirection(Direction.FORWARDS);
            }
            notification.alpha = (float) notification.animation.getOutput();
            if (System.currentTimeMillis() - notification.getTime() > notification.time2 * 1000L) {
                notification.yAnimation.setDirection(Direction.BACKWARDS);
            }
            if (notification.yAnimation.finished(Direction.BACKWARDS)) {
                notifications.remove(notification);
                continue;
            }
            float x = mc.getMainWindow().scaledWidth() - (Fonts.gilroyBold[14].getWidth(notification.getText()) + 8) - 10;
            float y = mc.getMainWindow().scaledHeight() - 30 -  (mc.player.getActivePotionEffects().stream().sorted(Comparator.comparing(EffectInstance::getDuration)).toList().size() * 16);
            notification.yAnimation.setEndPoint(yOffset);
            notification.yAnimation.setDuration(300);
            y -= (float) (notification.draw(stack) * notification.yAnimation.getOutput());
            notification.setX(x);
            notification.setY(AnimationMath.fast(notification.getY(), y, 15));
            yOffset++;
        }
    }


    private class Notification {
        [USER=270918]@Getter[/USER]
        [USER=1132491]@setter[/USER]
        private float x, y = mc.getMainWindow().scaledHeight() + 24;

        [USER=270918]@Getter[/USER]
        private String text;
        [USER=270918]@Getter[/USER]
        private String content;

        [USER=270918]@Getter[/USER]
        private long time = System.currentTimeMillis();

        public Animation animation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        public Animation yAnimation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        float alpha;
        int time2 = 3;

        public Notification(String text, String content, int time) {
            this.text = text;
            this.content = content;
            time2 = time;
        }

        public float draw(MatrixStack stack) {
            float width = Fonts.gilroyBold[14].getWidth(text) + 8;

            int firstColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int secondColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));
            int thirdColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int fourthColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));

            RenderUtil.Render2D.drawRoundedRect(x - 30, y, width + 30, 20, 3, ColorUtil.rgba(227, 147, 248, 34));
            //RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, ColorUtil.getColor(100), ColorUtil.getColor(100), ColorUtil.getColor(0), ColorUtil.getColor(0));
            RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, getColorStyle(40));
            Fonts.sfbold[14].drawString(stack, content, x + 4 - 30, y + 5, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            Fonts.sfsemibold[12].drawString(stack, text, x + 4 - 30, y + 13, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            return 24;
        }
    }
}
дибил нахуй наренеймил своей хуйни
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Блюра маловато в твоём shit hud'e
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
мои глаза..
 
красиво...
 
Основан на худе Vendex тык
основан notification на тык

Пожалуйста, авторизуйтесь для просмотра ссылки.

(если ты выбрал цвет в темах любой то тогда будет такого же цвета худ)

hud(сюда не могу вставить) -
Пожалуйста, авторизуйтесь для просмотра ссылки.


Пожалуйста, авторизуйтесь для просмотра ссылки.


Лютий код Notification:
Expand Collapse Copy
package wtf.nekoclient.notification;

import com.mojang.blaze3d.matrix.MatrixStack;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.potion.EffectInstance;
import wtf.nekoclient.managment.Managment;
import wtf.nekoclient.util.animations.Animation;
import wtf.nekoclient.util.animations.Direction;
import wtf.nekoclient.util.animations.impl.DecelerateAnimation;
import wtf.nekoclient.util.font.Fonts;
import wtf.nekoclient.util.render.ColorUtil;
import wtf.nekoclient.util.render.RenderUtil;
import wtf.nekoclient.util.render.animation.AnimationMath;

import java.util.Comparator;
import java.util.concurrent.CopyOnWriteArrayList;

import static wtf.nekoclient.util.IMinecraft.mc;
import static wtf.nekoclient.util.render.ColorUtil.getColorStyle;

public class NotificationManager {

    private final CopyOnWriteArrayList<Notification> notifications = new CopyOnWriteArrayList<>();

    public void add(String text, String content, int time) {
        notifications.add(new Notification(text, content, time));
    }


    public void draw(MatrixStack stack) {
        int yOffset = 0;
        for (Notification notification : notifications) {

            if (System.currentTimeMillis() - notification.getTime() > (notification.time2 * 1000L) - 300) {
                notification.animation.setDirection(Direction.BACKWARDS);
            } else {
                notification.yAnimation.setDirection(Direction.FORWARDS);
                notification.animation.setDirection(Direction.FORWARDS);
            }
            notification.alpha = (float) notification.animation.getOutput();
            if (System.currentTimeMillis() - notification.getTime() > notification.time2 * 1000L) {
                notification.yAnimation.setDirection(Direction.BACKWARDS);
            }
            if (notification.yAnimation.finished(Direction.BACKWARDS)) {
                notifications.remove(notification);
                continue;
            }
            float x = mc.getMainWindow().scaledWidth() - (Fonts.gilroyBold[14].getWidth(notification.getText()) + 8) - 10;
            float y = mc.getMainWindow().scaledHeight() - 30 -  (mc.player.getActivePotionEffects().stream().sorted(Comparator.comparing(EffectInstance::getDuration)).toList().size() * 16);
            notification.yAnimation.setEndPoint(yOffset);
            notification.yAnimation.setDuration(300);
            y -= (float) (notification.draw(stack) * notification.yAnimation.getOutput());
            notification.setX(x);
            notification.setY(AnimationMath.fast(notification.getY(), y, 15));
            yOffset++;
        }
    }


    private class Notification {
        [USER=270918]@Getter[/USER]
        [USER=1132491]@setter[/USER]
        private float x, y = mc.getMainWindow().scaledHeight() + 24;

        [USER=270918]@Getter[/USER]
        private String text;
        [USER=270918]@Getter[/USER]
        private String content;

        [USER=270918]@Getter[/USER]
        private long time = System.currentTimeMillis();

        public Animation animation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        public Animation yAnimation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        float alpha;
        int time2 = 3;

        public Notification(String text, String content, int time) {
            this.text = text;
            this.content = content;
            time2 = time;
        }

        public float draw(MatrixStack stack) {
            float width = Fonts.gilroyBold[14].getWidth(text) + 8;

            int firstColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int secondColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));
            int thirdColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int fourthColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));

            RenderUtil.Render2D.drawRoundedRect(x - 30, y, width + 30, 20, 3, ColorUtil.rgba(227, 147, 248, 34));
            //RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, ColorUtil.getColor(100), ColorUtil.getColor(100), ColorUtil.getColor(0), ColorUtil.getColor(0));
            RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, getColorStyle(40));
            Fonts.sfbold[14].drawString(stack, content, x + 4 - 30, y + 5, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            Fonts.sfsemibold[12].drawString(stack, text, x + 4 - 30, y + 13, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            return 24;
        }
    }
}
1715580522379.png
Помогите, нету данного шрифта или что это
 
Основан на худе Vendex тык
основан notification на тык

Пожалуйста, авторизуйтесь для просмотра ссылки.

(если ты выбрал цвет в темах любой то тогда будет такого же цвета худ)

hud(сюда не могу вставить) -
Пожалуйста, авторизуйтесь для просмотра ссылки.


Пожалуйста, авторизуйтесь для просмотра ссылки.


Лютий код Notification:
Expand Collapse Copy
package wtf.nekoclient.notification;

import com.mojang.blaze3d.matrix.MatrixStack;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.potion.EffectInstance;
import wtf.nekoclient.managment.Managment;
import wtf.nekoclient.util.animations.Animation;
import wtf.nekoclient.util.animations.Direction;
import wtf.nekoclient.util.animations.impl.DecelerateAnimation;
import wtf.nekoclient.util.font.Fonts;
import wtf.nekoclient.util.render.ColorUtil;
import wtf.nekoclient.util.render.RenderUtil;
import wtf.nekoclient.util.render.animation.AnimationMath;

import java.util.Comparator;
import java.util.concurrent.CopyOnWriteArrayList;

import static wtf.nekoclient.util.IMinecraft.mc;
import static wtf.nekoclient.util.render.ColorUtil.getColorStyle;

public class NotificationManager {

    private final CopyOnWriteArrayList<Notification> notifications = new CopyOnWriteArrayList<>();

    public void add(String text, String content, int time) {
        notifications.add(new Notification(text, content, time));
    }


    public void draw(MatrixStack stack) {
        int yOffset = 0;
        for (Notification notification : notifications) {

            if (System.currentTimeMillis() - notification.getTime() > (notification.time2 * 1000L) - 300) {
                notification.animation.setDirection(Direction.BACKWARDS);
            } else {
                notification.yAnimation.setDirection(Direction.FORWARDS);
                notification.animation.setDirection(Direction.FORWARDS);
            }
            notification.alpha = (float) notification.animation.getOutput();
            if (System.currentTimeMillis() - notification.getTime() > notification.time2 * 1000L) {
                notification.yAnimation.setDirection(Direction.BACKWARDS);
            }
            if (notification.yAnimation.finished(Direction.BACKWARDS)) {
                notifications.remove(notification);
                continue;
            }
            float x = mc.getMainWindow().scaledWidth() - (Fonts.gilroyBold[14].getWidth(notification.getText()) + 8) - 10;
            float y = mc.getMainWindow().scaledHeight() - 30 -  (mc.player.getActivePotionEffects().stream().sorted(Comparator.comparing(EffectInstance::getDuration)).toList().size() * 16);
            notification.yAnimation.setEndPoint(yOffset);
            notification.yAnimation.setDuration(300);
            y -= (float) (notification.draw(stack) * notification.yAnimation.getOutput());
            notification.setX(x);
            notification.setY(AnimationMath.fast(notification.getY(), y, 15));
            yOffset++;
        }
    }


    private class Notification {
        [USER=270918]@Getter[/USER]
        [USER=1132491]@setter[/USER]
        private float x, y = mc.getMainWindow().scaledHeight() + 24;

        [USER=270918]@Getter[/USER]
        private String text;
        [USER=270918]@Getter[/USER]
        private String content;

        [USER=270918]@Getter[/USER]
        private long time = System.currentTimeMillis();

        public Animation animation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        public Animation yAnimation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        float alpha;
        int time2 = 3;

        public Notification(String text, String content, int time) {
            this.text = text;
            this.content = content;
            time2 = time;
        }

        public float draw(MatrixStack stack) {
            float width = Fonts.gilroyBold[14].getWidth(text) + 8;

            int firstColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int secondColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));
            int thirdColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int fourthColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));

            RenderUtil.Render2D.drawRoundedRect(x - 30, y, width + 30, 20, 3, ColorUtil.rgba(227, 147, 248, 34));
            //RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, ColorUtil.getColor(100), ColorUtil.getColor(100), ColorUtil.getColor(0), ColorUtil.getColor(0));
            RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, getColorStyle(40));
            Fonts.sfbold[14].drawString(stack, content, x + 4 - 30, y + 5, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            Fonts.sfsemibold[12].drawString(stack, text, x + 4 - 30, y + 13, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            return 24;
        }
    }
}
какого хуя его крашит блять, и дай пнг еще
 
Последнее редактирование:
очень красива прадалжай в том жи духе
 
Основан на худе Vendex тык
основан notification на тык

Пожалуйста, авторизуйтесь для просмотра ссылки.

(если ты выбрал цвет в темах любой то тогда будет такого же цвета худ)

hud(сюда не могу вставить) -
Пожалуйста, авторизуйтесь для просмотра ссылки.


Пожалуйста, авторизуйтесь для просмотра ссылки.


Лютий код Notification:
Expand Collapse Copy
package wtf.nekoclient.notification;

import com.mojang.blaze3d.matrix.MatrixStack;
import lombok.Getter;
import lombok.Setter;
import net.minecraft.potion.EffectInstance;
import wtf.nekoclient.managment.Managment;
import wtf.nekoclient.util.animations.Animation;
import wtf.nekoclient.util.animations.Direction;
import wtf.nekoclient.util.animations.impl.DecelerateAnimation;
import wtf.nekoclient.util.font.Fonts;
import wtf.nekoclient.util.render.ColorUtil;
import wtf.nekoclient.util.render.RenderUtil;
import wtf.nekoclient.util.render.animation.AnimationMath;

import java.util.Comparator;
import java.util.concurrent.CopyOnWriteArrayList;

import static wtf.nekoclient.util.IMinecraft.mc;
import static wtf.nekoclient.util.render.ColorUtil.getColorStyle;

public class NotificationManager {

    private final CopyOnWriteArrayList<Notification> notifications = new CopyOnWriteArrayList<>();

    public void add(String text, String content, int time) {
        notifications.add(new Notification(text, content, time));
    }


    public void draw(MatrixStack stack) {
        int yOffset = 0;
        for (Notification notification : notifications) {

            if (System.currentTimeMillis() - notification.getTime() > (notification.time2 * 1000L) - 300) {
                notification.animation.setDirection(Direction.BACKWARDS);
            } else {
                notification.yAnimation.setDirection(Direction.FORWARDS);
                notification.animation.setDirection(Direction.FORWARDS);
            }
            notification.alpha = (float) notification.animation.getOutput();
            if (System.currentTimeMillis() - notification.getTime() > notification.time2 * 1000L) {
                notification.yAnimation.setDirection(Direction.BACKWARDS);
            }
            if (notification.yAnimation.finished(Direction.BACKWARDS)) {
                notifications.remove(notification);
                continue;
            }
            float x = mc.getMainWindow().scaledWidth() - (Fonts.gilroyBold[14].getWidth(notification.getText()) + 8) - 10;
            float y = mc.getMainWindow().scaledHeight() - 30 -  (mc.player.getActivePotionEffects().stream().sorted(Comparator.comparing(EffectInstance::getDuration)).toList().size() * 16);
            notification.yAnimation.setEndPoint(yOffset);
            notification.yAnimation.setDuration(300);
            y -= (float) (notification.draw(stack) * notification.yAnimation.getOutput());
            notification.setX(x);
            notification.setY(AnimationMath.fast(notification.getY(), y, 15));
            yOffset++;
        }
    }


    private class Notification {
        [USER=270918]@Getter[/USER]
        [USER=1132491]@setter[/USER]
        private float x, y = mc.getMainWindow().scaledHeight() + 24;

        [USER=270918]@Getter[/USER]
        private String text;
        [USER=270918]@Getter[/USER]
        private String content;

        [USER=270918]@Getter[/USER]
        private long time = System.currentTimeMillis();

        public Animation animation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        public Animation yAnimation = new DecelerateAnimation(500, 1, Direction.FORWARDS);
        float alpha;
        int time2 = 3;

        public Notification(String text, String content, int time) {
            this.text = text;
            this.content = content;
            time2 = time;
        }

        public float draw(MatrixStack stack) {
            float width = Fonts.gilroyBold[14].getWidth(text) + 8;

            int firstColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int secondColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));
            int thirdColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(0), (int) (255 * alpha));
            int fourthColor = RenderUtil.reAlphaInt(Managment.STYLE_MANAGER.getCurrentStyle().getColor(100), (int) (255 * alpha));

            RenderUtil.Render2D.drawRoundedRect(x - 30, y, width + 30, 20, 3, ColorUtil.rgba(227, 147, 248, 34));
            //RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, ColorUtil.getColor(100), ColorUtil.getColor(100), ColorUtil.getColor(0), ColorUtil.getColor(0));
            RenderUtil.Render2D.drawShadow(x - 30, y, width + 30, 20, 10, getColorStyle(40));
            Fonts.sfbold[14].drawString(stack, content, x + 4 - 30, y + 5, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            Fonts.sfsemibold[12].drawString(stack, text, x + 4 - 30, y + 13, RenderUtil.reAlphaInt(-1, (int) (255 * alpha)));
            return 24;
        }
    }
}
дай партиклы из ss
 
Назад
Сверху Снизу