Исходник FunTime Criticals | Expensive 3.1

Начинающий
Статус
Оффлайн
Регистрация
29 Июл 2024
Сообщения
2
Реакции[?]
0
Поинты[?]
0
Братья наши пастеры ловите мой говнокод который должен работать
zxc:
/// by Greufs ///

package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import com.mojang.datafixers.functions.Functions;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.ZaregerFunction;
import lombok.SneakyThrows;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.expensive.events.EventMotion;
import im.expensive.events.EventUpdate;
import im.expensive.functions.impl.combat.Criticals;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.ZaregFunction;

@ZaregerFunction(
        name = "Criticals",
        type = Category.Combat
)
public class Criticals extends Functions {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    @SneakyThrows
    public boolean onEnable() {
        super.clone();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate event) {
        if (mc.player != null && mc.world != null) {

        }
    }

    @Subscribe
    public void onPlayerAttack(EventMotion event) {
        if (mc.player != null && mc.world != null && mc.player.isOnGround() && mc.player.fallDistance == 0.0F && !mc.player.isInWater()) {
            ClientPlayNetHandler connection = mc.player.connection;

            double posX = mc.player.getPosX();
            double posY = mc.player.getPosY();
            double posZ = mc.player.getPosZ();


            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY + 0.1, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY + 0.01, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY, posZ, false));


            mc.player.swingArm(Hand.MAIN_HAND);
        }
    }
}
Хуй пойми какой зарегер функции за что отвечает уже попробовал не робит
 
Начинающий
Статус
Оффлайн
Регистрация
24 Окт 2021
Сообщения
134
Реакции[?]
1
Поинты[?]
1K
Братья наши пастеры ловите мой говнокод который должен работать
zxc:
/// by Greufs ///

package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import com.mojang.datafixers.functions.Functions;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.ZaregerFunction;
import lombok.SneakyThrows;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.expensive.events.EventMotion;
import im.expensive.events.EventUpdate;
import im.expensive.functions.impl.combat.Criticals;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.ZaregFunction;

@ZaregerFunction(
        name = "Criticals",
        type = Category.Combat
)
public class Criticals extends Functions {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    @SneakyThrows
    public boolean onEnable() {
        super.clone();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate event) {
        if (mc.player != null && mc.world != null) {

        }
    }

    @Subscribe
    public void onPlayerAttack(EventMotion event) {
        if (mc.player != null && mc.world != null && mc.player.isOnGround() && mc.player.fallDistance == 0.0F && !mc.player.isInWater()) {
            ClientPlayNetHandler connection = mc.player.connection;

            double posX = mc.player.getPosX();
            double posY = mc.player.getPosY();
            double posZ = mc.player.getPosZ();


            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY + 0.1, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY + 0.01, posZ, false));
            connection.sendPacket(new CPlayerPacket.PositionPacket(posX, posY, posZ, false));


            mc.player.swingArm(Hand.MAIN_HAND);
        }
    }
}
Помоги пожалуйста, в function registry строка подсвечивается красным.
 
Начинающий
Статус
Оффлайн
Регистрация
20 Апр 2021
Сообщения
1,232
Реакции[?]
25
Поинты[?]
38K
как его блять в функшн регистер зарегать а если зарегать то крашит просто
попробуй через блокнот открыть functionregistery.java, он наверное просто изза программы в который ты изменяешь его как то ломается.
 
Начинающий
Статус
Оффлайн
Регистрация
12 Июн 2024
Сообщения
485
Реакции[?]
1
Поинты[?]
1K
Начинающий
Статус
Онлайн
Регистрация
12 Фев 2023
Сообщения
26
Реакции[?]
0
Поинты[?]
1K
иди нахуй а, я уже решил это проблему

Всегда найдете за что придраться пидарасы
Пиздец ты ошибку настолько долго решал, что у тебя последние мозги высохли, недо-пастер
 
Начинающий
Статус
Оффлайн
Регистрация
12 Июн 2024
Сообщения
485
Реакции[?]
1
Поинты[?]
1K
Пиздец ты ошибку настолько долго решал, что у тебя последние мозги высохли, недо-пастер
[/QUO
Пиздец ты ошибку настолько долго решал, что у тебя последние мозги высохли, недо-пастер
у тебя они высохли хуйло
Пиздец ты ошибку настолько долго решал, что у тебя последние мозги высохли, недо-пастер
сука проигнорировать никто не может, у вас блять такими темпами мозги высохнут
сука проигнорировать никто не может, у вас блять такими темпами мозги высохнут
умеете только скрины кидать там где я помощи прошу
сука проигнорировать никто не может, у вас блять такими темпами мозги высохнут

умеете только скрины кидать там где я помощи прошу
Screenshot 2024-08-04 230523.png :roflanEbalo:
 
Начинающий
Статус
Оффлайн
Регистрация
20 Ноя 2021
Сообщения
39
Реакции[?]
0
Поинты[?]
0
попробуй через блокнот открыть functionregistery.java, он наверное просто изза программы в который ты изменяешь его как то ломается.
Ты серьёзно? Там файл зареган через Functions от моджанг а не Function а если поменять то игра крашит просто при включении, код говна просто
 
Начинающий
Статус
Оффлайн
Регистрация
20 Апр 2021
Сообщения
1,232
Реакции[?]
25
Поинты[?]
38K
Начинающий
Статус
Оффлайн
Регистрация
15 Мар 2024
Сообщения
211
Реакции[?]
1
Поинты[?]
1K
Мб работает
отвечаю работает:
/// by Greufs ///

package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.expensive.events.EventMotion;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;

@FunctionRegister(
        name =  "Criticals",
        type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(EventMotion var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
Мб работает
отвечаю работает:
/// by Greufs ///

package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.expensive.events.EventMotion;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;

@FunctionRegister(
        name =  "Criticals",
        type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(EventMotion var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
Мб работает
отвечаю работает:
/// by Greufs ///

package im.expensive.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.expensive.events.EventMotion;
import im.expensive.events.EventUpdate;
import im.expensive.functions.api.Category;
import im.expensive.functions.api.Function;
import im.expensive.functions.api.FunctionRegister;

@FunctionRegister(
        name =  "Criticals",
        type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(EventMotion var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
17 Дек 2023
Сообщения
34
Реакции[?]
0
Поинты[?]
0
вместо EventMotion юзай AttackEvent, должно помочь

Java:
/// by Greufs ///

package www.exevors.module.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import www.exevors.events.AttackEvent;
import www.exevors.events.EventUpdate;
import www.exevors.module.api.Category;
import www.exevors.module.api.Function;
import www.exevors.module.api.FunctionRegister;

@FunctionRegister(
    name = FT Criticals,
    type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(AttackEvent var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                    if (Minecraft.player.fallDistance  0.0F) {
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
}
как то так
Спасиби
 
Начинающий
Статус
Оффлайн
Регистрация
7 Ноя 2022
Сообщения
13
Реакции[?]
0
Поинты[?]
0
FunTime Criticals by Greufs, перенёс на Expensive 3.1

JavaScript:
/// by Greufs ///

package www.exevors.module.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import www.exevors.events.EventMotion;
import www.exevors.events.EventUpdate;
import www.exevors.module.api.Category;
import www.exevors.module.api.Function;
import www.exevors.module.api.FunctionRegister;

@FunctionRegister(
    name = FT Criticals,
    type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(EventMotion var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                    if (Minecraft.player.fallDistance  0.0F) {
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
}
инфа сотка твой код, кстати что насчет кода попробуйте пукнуть в пакетик и занюхнуть, эффект такой же
 
Начинающий
Статус
Оффлайн
Регистрация
13 Июл 2024
Сообщения
58
Реакции[?]
1
Поинты[?]
2K
там var это обфа, твоя взяла) этот калл не пофиксить)))
Ебанулся? Совсем уже ебанутые, var это сука mutable переменная от Ломбока блять.
Сука иди напейся чего-нибудь
 
Начинающий
Статус
Онлайн
Регистрация
10 Июл 2024
Сообщения
136
Реакции[?]
0
Поинты[?]
0
FunTime Criticals by Greufs, перенёс на Expensive 3.1

JavaScript:
/// by Greufs ///

package www.exevors.module.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import www.exevors.events.EventMotion;
import www.exevors.events.EventUpdate;
import www.exevors.module.api.Category;
import www.exevors.module.api.Function;
import www.exevors.module.api.FunctionRegister;

@FunctionRegister(
    name = FT Criticals,
    type = Category.Combat
)
public class Criticals extends Function {
    private final Minecraft mc = Minecraft.getInstance();

    public Criticals() {
    }

    public boolean onEnable() {
        super.onEnable();
        return true;
    }

    @Subscribe
    public void onPlayerUpdate(EventUpdate var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                return;
            }
        }

    }

    @Subscribe
    public void onPlayerAttack(EventMotion var1) {
        Minecraft var10000 = this.mc;
        if (Minecraft.player != null) {
            var10000 = this.mc;
            if (Minecraft.world != null) {
                var10000 = this.mc;
                if (Minecraft.player.isOnGround()) {
                    var10000 = this.mc;
                    if (Minecraft.player.fallDistance  0.0F) {
                        var10000 = this.mc;
                        if (!Minecraft.player.isInWater()) {
                            var10000 = this.mc;
                            ClientPlayNetHandler var2 = Minecraft.player.connection;
                            Minecraft var10003 = this.mc;
                            double var3 = Minecraft.player.getPosX();
                            Minecraft var10004 = this.mc;
                            double var4 = Minecraft.player.getPosY() + 0.1;
                            Minecraft var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY() + 0.01;
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            var2 = Minecraft.player.connection;
                            var10003 = this.mc;
                            var3 = Minecraft.player.getPosX();
                            var10004 = this.mc;
                            var4 = Minecraft.player.getPosY();
                            var10005 = this.mc;
                            var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.player.getPosZ(), false));
                            var10000 = this.mc;
                            Minecraft.player.swingArm(Hand.MAIN_HAND);
                        }
                    }
                }

                return;
            }
        }

    }
}
package im.Lighting.functions.impl.combat;

import com.google.common.eventbus.Subscribe;
import net.minecraft.client.Minecraft;
import net.minecraft.client.network.play.ClientPlayNetHandler;
import net.minecraft.network.play.client.CPlayerPacket;
import net.minecraft.util.Hand;
import im.Lighting.events.EventMotion;
import im.Lighting.events.EventUpdate;
import im.Lighting.functions.api.Category;
import im.Lighting.functions.api.Function;
import im.Lighting.functions.api.FunctionRegister;

@FunctionRegister(
name = "CriticalsFT",
type = Category.Combat
)
public class Criticals extends Function {
private final Minecraft mc = Minecraft.getInstance();

public Criticals() {
}

public boolean onEnable() {
super.onEnable();
return true;
}

@Subscribe
public void onPlayerUpdate(EventUpdate var1) {
Minecraft var10000 = this.mc;
if (Minecraft.getInstance().player != null) {
var10000 = this.mc;
if (Minecraft.getInstance().world != null) {
return;
}
}

}

@Subscribe
public void onPlayerAttack(EventMotion var1) {
Minecraft var10000 = this.mc;
if (Minecraft.getInstance().player != null) {
var10000 = this.mc;
if (Minecraft.getInstance().world != null) {
var10000 = this.mc;
if (Minecraft.getInstance().player.isOnGround()) {
var10000 = this.mc;
if (Minecraft.getInstance().player.fallDistance > 0.0F) {
var10000 = this.mc;
if (!Minecraft.getInstance().player.isInWater()) {
var10000 = this.mc;
ClientPlayNetHandler var2 = Minecraft.getInstance().player.connection;
Minecraft var10003 = this.mc;
double var3 = Minecraft.getInstance().player.getPosX();
Minecraft var10004 = this.mc;
double var4 = Minecraft.getInstance().player.getPosY() + 0.1;
Minecraft var10005 = this.mc;
var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.getInstance().player.getPosZ(), false));
var10000 = this.mc;
var2 = Minecraft.getInstance().player.connection;
var10003 = this.mc;
var3 = Minecraft.getInstance().player.getPosX();
var10004 = this.mc;
var4 = Minecraft.getInstance().player.getPosY();
var10005 = this.mc;
var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.getInstance().player.getPosZ(), false));
var10000 = this.mc;
var2 = Minecraft.getInstance().player.connection;
var10003 = this.mc;
var3 = Minecraft.getInstance().player.getPosX();
var10004 = this.mc;
var4 = Minecraft.getInstance().player.getPosY() + 0.01;
var10005 = this.mc;
var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.getInstance().player.getPosZ(), false));
var10000 = this.mc;
var2 = Minecraft.getInstance().player.connection;
var10003 = this.mc;
var3 = Minecraft.getInstance().player.getPosX();
var10004 = this.mc;
var4 = Minecraft.getInstance().player.getPosY();
var10005 = this.mc;
var2.sendPacket(new CPlayerPacket.PositionPacket(var3, var4, Minecraft.getInstance().player.getPosZ(), false));
var10000 = this.mc;
Minecraft.getInstance().player.swingArm(Hand.MAIN_HAND);
}
}
}

return;
}
}

}
}
фикс
 
Сверху Снизу