ElytraFly bypass SunRise

Начинающий
Начинающий
Статус
Оффлайн
Регистрация
24 Окт 2024
Сообщения
9
Реакции
0
Код:
Expand Collapse Copy
            case "Sunrise Elytra" -> {
                int elytra = getSlotIDFromItem(Items.ELYTRA);

                if (mc.player.isInWater()) {
                    return;
                }
                if (elytra == -1) {
                    ChatUtility.addChatMessage("Вам нужна элитра для использования данного мода!");
                    toggle();
                    return;
                }
                if (mc.player.onGround) {
                    mc.player.jump();
                }

                if (mc.player.ticksExisted % 2 == 0) {
                    disabler(elytra);
                }

                if (!superBow.state) {
                    if (!boots2.state) {
                        mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.02 : 0.06;
                    }
                }
                if (!boots2.state) {
                    if (superBow.state) {
                        mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.25 : 0.25;
                    }
                }

                if (!mc.player.isSneaking() && mc.gameSettings.keyBindJump.pressed) {
                    mc.player.motionY = motionY.getFloatValue();
                }
                if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                    mc.player.motionY = -motionY.getFloatValue();
                }
                if (boots2.state) {
                    MoveUtility.setMotion(0.83f);
                    mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.04 : 0.1;
                    if (mc.player.ticksExisted % 2 == 0) {
                        MoveUtility.setMotion(1.5f);
                    }
                }
                if (!mc.player.isSneaking() && mc.gameSettings.keyBindJump.pressed) {
                    mc.player.motionY = motionY.getFloatValue();
                }
                if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                    mc.player.motionY = -motionY.getFloatValue();
                }
            }
        }
    }
 
Код:
Expand Collapse Copy
            case "Sunrise Elytra" -> {
                int elytra = getSlotIDFromItem(Items.ELYTRA);

                if (mc.player.isInWater()) {
                    return;
                }
                if (elytra == -1) {
                    ChatUtility.addChatMessage("Вам нужна элитра для использования данного мода!");
                    toggle();
                    return;
                }
                if (mc.player.onGround) {
                    mc.player.jump();
                }

                if (mc.player.ticksExisted % 2 == 0) {
                    disabler(elytra);
                }

                if (!superBow.state) {
                    if (!boots2.state) {
                        mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.02 : 0.06;
                    }
                }
                if (!boots2.state) {
                    if (superBow.state) {
                        mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.25 : 0.25;
                    }
                }

                if (!mc.player.isSneaking() && mc.gameSettings.keyBindJump.pressed) {
                    mc.player.motionY = motionY.getFloatValue();
                }
                if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                    mc.player.motionY = -motionY.getFloatValue();
                }
                if (boots2.state) {
                    MoveUtility.setMotion(0.83f);
                    mc.player.motionY = mc.player.ticksExisted % 2 != 0 ? -0.04 : 0.1;
                    if (mc.player.ticksExisted % 2 == 0) {
                        MoveUtility.setMotion(1.5f);
                    }
                }
                if (!mc.player.isSneaking() && mc.gameSettings.keyBindJump.pressed) {
                    mc.player.motionY = motionY.getFloatValue();
                }
                if (mc.gameSettings.keyBindSneak.isKeyDown()) {
                    mc.player.motionY = -motionY.getFloatValue();
                }
            }
        }
    }
На пиво клиент пойдет ?
 
Назад
Сверху Снизу