Исходник JumpCircle | exp 3.1 ready

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

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

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

Спасибо!

мои дорогие, держите JumpCircle со сменой режимов (жду попкорна):
JumpCircle:
package ru.client.functions.impl.render;

import com.google.common.eventbus.Subscribe;
import com.mojang.blaze3d.platform.GlStateManager;
import ru.client.events.JumpEvent;
import ru.client.events.WorldEvent;
import ru.client.functions.api.Category;
import ru.client.functions.api.Function;
import ru.client.functions.api.FunctionRegister;
import ru.client.functions.settings.impl.ModeSetting;
import ru.client.functions.settings.impl.SliderSetting;
import ru.client.utils.render.ColorUtils;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.vector.Vector3d;
import ru.hogoshi.Animation;
import ru.hogoshi.util.Easings;

import java.util.concurrent.CopyOnWriteArrayList;

@FunctionRegister(name = "JumpCircle", type = Category.Render)
public class JumpCircle extends Function {

    private final CopyOnWriteArrayList<Circle> circles = new CopyOnWriteArrayList<>();
    private final SliderSetting sizeSlider = new SliderSetting("Размер", 1.0f, 1.0f, 5.0f, 0.1f);
    public final ModeSetting circleMode = new ModeSetting("Круг", "Круг1",
            "Круг1",
            "Круг2",
            "Круг3",
            "Круг4",
            "Круг5"
    );

    public JumpCircle() {
        addSettings(sizeSlider, circleMode);
    }

    @Subscribe
    private void onJump(JumpEvent e) {
        circles.add(new Circle(mc.player.getPositon(mc.getRenderPartialTicks()).add(0, 0.05, 0)));
    }

    private final ResourceLocation circle1 = new ResourceLocation("cheatclient/images/circle/circle1.png");
    private final ResourceLocation circle2 = new ResourceLocation("cheatclient/images/circle/circle2.png");
    private final ResourceLocation circle3 = new ResourceLocation("cheatclient/images/circle/circle3.png");
    private final ResourceLocation circle4 = new ResourceLocation("cheatclient/images/circle/circle4.png");
    private final ResourceLocation circle5 = new ResourceLocation("cheatclient/images/circle/circle5.png");

    @Subscribe
    private void onRender(WorldEvent e) {

        GlStateManager.pushMatrix();
        GlStateManager.shadeModel(7425);
        GlStateManager.blendFunc(770, 771);
        GlStateManager.depthMask(false);
        GlStateManager.enableBlend();
        GlStateManager.disableAlphaTest();
        GlStateManager.disableCull();
        GlStateManager.translated(-mc.getRenderManager().info.getProjectedView().x, -mc.getRenderManager().info.getProjectedView().y, -mc.getRenderManager().info.getProjectedView().z);

        for (Circle c : circles) {
            ResourceLocation circleTexture = switch (circleMode.get()) {
                case "Круг1" -> circle1;
                case "Круг2" -> circle2;
                case "Круг3" -> circle3;
                case "Круг4" -> circle4;
                case "Круг5" -> circle5;
                default -> circle1;
            };
            mc.getTextureManager().bindTexture(circleTexture);
            if (System.currentTimeMillis() - c.time > 3000) circles.remove(c);
            if (System.currentTimeMillis() - c.time > 2000 && !c.isFading) {
                c.fadeAnimation.animate(1, 0, Easings.SINE_OUT);
                c.isFading = true;
            }

            c.animation.update();
            c.fadeAnimation.update();

            float rad = (float) c.animation.getValue() * sizeSlider.get();
            float alpha = (float) c.fadeAnimation.getValue();

            Vector3d vector3d = c.vector3d;
            vector3d = vector3d.add(-rad / 2f, 0, -rad / 2f);

            buffer.begin(6, DefaultVertexFormats.POSITION_COLOR_TEX);
            int alphaValue = (int) (255 * alpha);

            buffer.pos(vector3d.x, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(5), alphaValue)).tex(0, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(10), alphaValue)).tex(1, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(15), alphaValue)).tex(1, 1).endVertex();
            buffer.pos(vector3d.x, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(20), alphaValue)).tex(0, 1).endVertex();
            tessellator.draw();
        }

        GlStateManager.disableBlend();
        GlStateManager.shadeModel(7424);
        GlStateManager.depthMask(true);
        GlStateManager.enableAlphaTest();
        GlStateManager.enableCull();
        GlStateManager.popMatrix();
    }

    private class Circle {

        private final Vector3d vector3d;
        private final long time;
        private final Animation animation = new Animation();
        private final Animation fadeAnimation = new Animation();
        private boolean isFading;

        public Circle(Vector3d vector3d) {
            this.vector3d = vector3d;
            time = System.currentTimeMillis();
            animation.animate(1, 0.5, Easings.SINE_OUT);
            fadeAnimation.animate(1, 1, Easings.SINE_OUT);
        }
    }
}
а так же
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Начинающий
Статус
Оффлайн
Регистрация
6 Дек 2023
Сообщения
308
Реакции[?]
1
Поинты[?]
1K
мои дорогие, держите JumpCircle со сменой режимов (жду попкорна):
JumpCircle:
package ru.client.functions.impl.render;

import com.google.common.eventbus.Subscribe;
import com.mojang.blaze3d.platform.GlStateManager;
import ru.client.events.JumpEvent;
import ru.client.events.WorldEvent;
import ru.client.functions.api.Category;
import ru.client.functions.api.Function;
import ru.client.functions.api.FunctionRegister;
import ru.client.functions.settings.impl.ModeSetting;
import ru.client.functions.settings.impl.SliderSetting;
import ru.client.utils.render.ColorUtils;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.vector.Vector3d;
import ru.hogoshi.Animation;
import ru.hogoshi.util.Easings;

import java.util.concurrent.CopyOnWriteArrayList;

@FunctionRegister(name = "JumpCircle", type = Category.Render)
public class JumpCircle extends Function {

    private final CopyOnWriteArrayList<Circle> circles = new CopyOnWriteArrayList<>();
    private final SliderSetting sizeSlider = new SliderSetting("Размер", 1.0f, 1.0f, 5.0f, 0.1f);
    public final ModeSetting circleMode = new ModeSetting("Круг", "Круг1",
            "Круг1",
            "Круг2",
            "Круг3",
            "Круг4",
            "Круг5"
    );

    public JumpCircle() {
        addSettings(sizeSlider, circleMode);
    }

    @Subscribe
    private void onJump(JumpEvent e) {
        circles.add(new Circle(mc.player.getPositon(mc.getRenderPartialTicks()).add(0, 0.05, 0)));
    }

    private final ResourceLocation circle1 = new ResourceLocation("cheatclient/images/circle/circle1.png");
    private final ResourceLocation circle2 = new ResourceLocation("cheatclient/images/circle/circle2.png");
    private final ResourceLocation circle3 = new ResourceLocation("cheatclient/images/circle/circle3.png");
    private final ResourceLocation circle4 = new ResourceLocation("cheatclient/images/circle/circle4.png");
    private final ResourceLocation circle5 = new ResourceLocation("cheatclient/images/circle/circle5.png");

    @Subscribe
    private void onRender(WorldEvent e) {

        GlStateManager.pushMatrix();
        GlStateManager.shadeModel(7425);
        GlStateManager.blendFunc(770, 771);
        GlStateManager.depthMask(false);
        GlStateManager.enableBlend();
        GlStateManager.disableAlphaTest();
        GlStateManager.disableCull();
        GlStateManager.translated(-mc.getRenderManager().info.getProjectedView().x, -mc.getRenderManager().info.getProjectedView().y, -mc.getRenderManager().info.getProjectedView().z);

        for (Circle c : circles) {
            ResourceLocation circleTexture = switch (circleMode.get()) {
                case "Круг1" -> circle1;
                case "Круг2" -> circle2;
                case "Круг3" -> circle3;
                case "Круг4" -> circle4;
                case "Круг5" -> circle5;
                default -> circle1;
            };
            mc.getTextureManager().bindTexture(circleTexture);
            if (System.currentTimeMillis() - c.time > 3000) circles.remove(c);
            if (System.currentTimeMillis() - c.time > 2000 && !c.isFading) {
                c.fadeAnimation.animate(1, 0, Easings.SINE_OUT);
                c.isFading = true;
            }

            c.animation.update();
            c.fadeAnimation.update();

            float rad = (float) c.animation.getValue() * sizeSlider.get();
            float alpha = (float) c.fadeAnimation.getValue();

            Vector3d vector3d = c.vector3d;
            vector3d = vector3d.add(-rad / 2f, 0, -rad / 2f);

            buffer.begin(6, DefaultVertexFormats.POSITION_COLOR_TEX);
            int alphaValue = (int) (255 * alpha);

            buffer.pos(vector3d.x, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(5), alphaValue)).tex(0, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(10), alphaValue)).tex(1, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(15), alphaValue)).tex(1, 1).endVertex();
            buffer.pos(vector3d.x, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(20), alphaValue)).tex(0, 1).endVertex();
            tessellator.draw();
        }

        GlStateManager.disableBlend();
        GlStateManager.shadeModel(7424);
        GlStateManager.depthMask(true);
        GlStateManager.enableAlphaTest();
        GlStateManager.enableCull();
        GlStateManager.popMatrix();
    }

    private class Circle {

        private final Vector3d vector3d;
        private final long time;
        private final Animation animation = new Animation();
        private final Animation fadeAnimation = new Animation();
        private boolean isFading;

        public Circle(Vector3d vector3d) {
            this.vector3d = vector3d;
            time = System.currentTimeMillis();
            animation.animate(1, 0.5, Easings.SINE_OUT);
            fadeAnimation.animate(1, 1, Easings.SINE_OUT);
        }
    }
}
а так же
Пожалуйста, авторизуйтесь для просмотра ссылки.
/del по факту тот могут быть только картинки интересны, модсеттинг может прописать каждый
 
Начинающий
Статус
Оффлайн
Регистрация
26 Фев 2024
Сообщения
448
Реакции[?]
1
Поинты[?]
0
мои дорогие, держите JumpCircle со сменой режимов (жду попкорна):
JumpCircle:
package ru.client.functions.impl.render;

import com.google.common.eventbus.Subscribe;
import com.mojang.blaze3d.platform.GlStateManager;
import ru.client.events.JumpEvent;
import ru.client.events.WorldEvent;
import ru.client.functions.api.Category;
import ru.client.functions.api.Function;
import ru.client.functions.api.FunctionRegister;
import ru.client.functions.settings.impl.ModeSetting;
import ru.client.functions.settings.impl.SliderSetting;
import ru.client.utils.render.ColorUtils;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.vector.Vector3d;
import ru.hogoshi.Animation;
import ru.hogoshi.util.Easings;

import java.util.concurrent.CopyOnWriteArrayList;

@FunctionRegister(name = "JumpCircle", type = Category.Render)
public class JumpCircle extends Function {

    private final CopyOnWriteArrayList<Circle> circles = new CopyOnWriteArrayList<>();
    private final SliderSetting sizeSlider = new SliderSetting("Размер", 1.0f, 1.0f, 5.0f, 0.1f);
    public final ModeSetting circleMode = new ModeSetting("Круг", "Круг1",
            "Круг1",
            "Круг2",
            "Круг3",
            "Круг4",
            "Круг5"
    );

    public JumpCircle() {
        addSettings(sizeSlider, circleMode);
    }

    @Subscribe
    private void onJump(JumpEvent e) {
        circles.add(new Circle(mc.player.getPositon(mc.getRenderPartialTicks()).add(0, 0.05, 0)));
    }

    private final ResourceLocation circle1 = new ResourceLocation("cheatclient/images/circle/circle1.png");
    private final ResourceLocation circle2 = new ResourceLocation("cheatclient/images/circle/circle2.png");
    private final ResourceLocation circle3 = new ResourceLocation("cheatclient/images/circle/circle3.png");
    private final ResourceLocation circle4 = new ResourceLocation("cheatclient/images/circle/circle4.png");
    private final ResourceLocation circle5 = new ResourceLocation("cheatclient/images/circle/circle5.png");

    @Subscribe
    private void onRender(WorldEvent e) {

        GlStateManager.pushMatrix();
        GlStateManager.shadeModel(7425);
        GlStateManager.blendFunc(770, 771);
        GlStateManager.depthMask(false);
        GlStateManager.enableBlend();
        GlStateManager.disableAlphaTest();
        GlStateManager.disableCull();
        GlStateManager.translated(-mc.getRenderManager().info.getProjectedView().x, -mc.getRenderManager().info.getProjectedView().y, -mc.getRenderManager().info.getProjectedView().z);

        for (Circle c : circles) {
            ResourceLocation circleTexture = switch (circleMode.get()) {
                case "Круг1" -> circle1;
                case "Круг2" -> circle2;
                case "Круг3" -> circle3;
                case "Круг4" -> circle4;
                case "Круг5" -> circle5;
                default -> circle1;
            };
            mc.getTextureManager().bindTexture(circleTexture);
            if (System.currentTimeMillis() - c.time > 3000) circles.remove(c);
            if (System.currentTimeMillis() - c.time > 2000 && !c.isFading) {
                c.fadeAnimation.animate(1, 0, Easings.SINE_OUT);
                c.isFading = true;
            }

            c.animation.update();
            c.fadeAnimation.update();

            float rad = (float) c.animation.getValue() * sizeSlider.get();
            float alpha = (float) c.fadeAnimation.getValue();

            Vector3d vector3d = c.vector3d;
            vector3d = vector3d.add(-rad / 2f, 0, -rad / 2f);

            buffer.begin(6, DefaultVertexFormats.POSITION_COLOR_TEX);
            int alphaValue = (int) (255 * alpha);

            buffer.pos(vector3d.x, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(5), alphaValue)).tex(0, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z).color(ColorUtils.setAlpha(ColorUtils.getColor(10), alphaValue)).tex(1, 0).endVertex();
            buffer.pos(vector3d.x + rad, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(15), alphaValue)).tex(1, 1).endVertex();
            buffer.pos(vector3d.x, vector3d.y, vector3d.z + rad).color(ColorUtils.setAlpha(ColorUtils.getColor(20), alphaValue)).tex(0, 1).endVertex();
            tessellator.draw();
        }

        GlStateManager.disableBlend();
        GlStateManager.shadeModel(7424);
        GlStateManager.depthMask(true);
        GlStateManager.enableAlphaTest();
        GlStateManager.enableCull();
        GlStateManager.popMatrix();
    }

    private class Circle {

        private final Vector3d vector3d;
        private final long time;
        private final Animation animation = new Animation();
        private final Animation fadeAnimation = new Animation();
        private boolean isFading;

        public Circle(Vector3d vector3d) {
            this.vector3d = vector3d;
            time = System.currentTimeMillis();
            animation.animate(1, 0.5, Easings.SINE_OUT);
            fadeAnimation.animate(1, 1, Easings.SINE_OUT);
        }
    }
}
а так же
Пожалуйста, авторизуйтесь для просмотра ссылки.
НАХУЯ?
 
Сверху Снизу