Исходник Исходный код чита

Забаненный
Статус
Оффлайн
Регистрация
1 Сен 2022
Сообщения
97
Реакции[?]
2
Поинты[?]
3K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.

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

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

Спасибо!

JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
  
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
  
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
  
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
  
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
  
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
  
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
 
Начинающий
Статус
Оффлайн
Регистрация
12 Окт 2022
Сообщения
227
Реакции[?]
1
Поинты[?]
0
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
 
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
 
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
 
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
 
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
надеюсь ты не настолько тупой что запастил ноклип тандерхака
1681457675064.png
 
Начинающий
Статус
Оффлайн
Регистрация
8 Мар 2023
Сообщения
18
Реакции[?]
0
Поинты[?]
0
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
 
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
 
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
 
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
 
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
то чуство когда код мой NoClip
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
 
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
 
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
 
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
 
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
вот скрин когда я ему кидал
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
8 Мар 2023
Сообщения
18
Реакции[?]
0
Поинты[?]
0
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
 
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
 
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
 
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
 
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
вот скрин
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
1
Пользователь
Статус
Оффлайн
Регистрация
22 Авг 2021
Сообщения
485
Реакции[?]
45
Поинты[?]
7K
Начинающий
Статус
Оффлайн
Регистрация
20 Июн 2022
Сообщения
107
Реакции[?]
0
Поинты[?]
0
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
 
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
 
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
 
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
 
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
 
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
Молодец, но код ватеров кривой
 
Начинающий
Статус
Оффлайн
Регистрация
24 Янв 2023
Сообщения
17
Реакции[?]
0
Поинты[?]
0
Забаненный
Статус
Оффлайн
Регистрация
22 Авг 2023
Сообщения
299
Реакции[?]
17
Поинты[?]
15K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
JavaScript:
public class ECExploit extends Feature
{
    private GuiContainer screen;
    private boolean isBackpacked;
    private boolean closeGui;
  
    public ECExploit() {
        super("ECExploit", Category.PLAYER);
        this.closeGui = false;
    }
  
    @EventTarget
    public void onUpdate(final EventUpdate event) {
        if (this.isBackpacked && this.closeGui && ECExploit.mc.currentScreen instanceof GuiContainer && !(ECExploit.mc.currentScreen instanceof GuiInventory)) {
            ECExploit.mc.currentScreen = null;
            this.closeGui = false;
        }
    }
  
    @EventTarget
    public void onLoadGui(final EventLoadGui event) {
        if (event.getGui() instanceof GuiContainer && !(event.getGui() instanceof GuiInventory)) {
            this.screen = (GuiContainer)event.getGui();
        }
        else if (event.getGui() instanceof GuiInventory && this.isBackpacked && this.screen != null) {
            this.closeGui = false;
            event.setCancelled(true);
            ECExploit.mc.displayGuiScreen((GuiScreen)this.screen);
        }
    }
  
    @EventTarget
    public void onPacketReceive(final EventPacket.Receive event) {
        final Packet packet = event.getPacket();
        if (packet instanceof SPacketCloseWindow) {
            final SPacketCloseWindow packetCloseWindow = (SPacketCloseWindow)packet;
            if (this.screen != null && packetCloseWindow.getWindowId() == this.screen.inventorySlots.windowId) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
  
    @EventTarget
    public void onRightClickBlock(final EventProcessRightClickBlock event) {
        if (event.getPos() != null) {
            final Minecraft mc = ECExploit.mc;
            final Block block = Minecraft.world.getBlockState(event.getPos()).getBlock();
            if (block == Blocks.ENDER_CHEST) {
                final float dX = (float)(event.getVec().x - event.getPos().getX());
                final float dY = (float)(event.getVec().y - event.getPos().getY());
                final float dZ = (float)(event.getVec().z - event.getPos().getZ());
                final Minecraft mc2 = ECExploit.mc;
                Minecraft.player.connection.sendPacket((Packet)new CPacketPlayerTryUseItemOnBlock(event.getPos(), event.getDirection(), EnumHand.MAIN_HAND, dX, dY, dZ));
                this.isBackpacked = true;
            }
            else if (block instanceof BlockContainer) {
                this.isBackpacked = false;
                this.closeGui = false;
                this.screen = null;
            }
        }
    }
  
    public void onDisable() {
        final Minecraft mc = ECExploit.mc;
        if (Minecraft.world != null) {
            final Minecraft mc2 = ECExploit.mc;
            final NetHandlerPlayClient connection = Minecraft.player.connection;
            final Minecraft mc3 = ECExploit.mc;
            connection.sendPacket((Packet)new CPacketCloseWindow(Minecraft.player.inventoryContainer.windowId));
            this.isBackpacked = false;
            this.closeGui = false;
            this.screen = null;
        }
    }
}

JavaScript:
public class NoClip extends Module {

    public BooleanSetting destroyBlocks = new BooleanSetting("Destroy", true, () -> true);

    TimerHelper timerHelper = new TimerHelper();

    public NoClip() {
        super("NoClip", "", InfoCategory.Movement);
        addSettings(destroyBlocks);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        mc.player.noClip = true;
        mc.player.onGround = true;
        mc.player.motionY = 0.0F;
        mc.player.jumpTicks = 0;
        if (mc.gameSettings.keyBindSneak.isKeyDown()) {
            mc.player.motionY = -0.2F;
        }

        if (destroyBlocks.getCurrentValue()) {
            float f = mc.player.rotationYaw * 0.017453292F;
            double speed = 0.7;
            double x = -(MathHelper.sin(f) * speed);
            double z = MathHelper.cos(f) * speed;
            if (timerHelper.hasReached(mc.player.getDigSpeed(mc.world.getBlockState(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z)), mc.player.inventory.getCurrentItem()))) {
                mc.player.swingArm(EnumHand.MAIN_HAND);
                mc.playerController.onPlayerDamageBlock(new BlockPos(NoClip.mc.player.posX + x, NoClip.mc.player.posY + 0.4, NoClip.mc.player.posZ + z), NoClip.mc.player.getHorizontalFacing());
                timerHelper.reset();
            }
        }
    }
}

JavaScript:
public class WaterSpeed extends Module {

    public BooleanSetting speedCheck = new BooleanSetting("Speed Potion Check", false);
    public BooleanSetting smart = new BooleanSetting("Smart", false);
    public NumberSetting speed = new NumberSetting("Speed", 0.4f, 0.1f, 1f, 0.01f, () -> !smart.getCurrentValue());

    public BooleanSetting miniJump = new BooleanSetting("Mini Jump", true);
    public static float tick = 0;

    public WaterSpeed() {
        super("WaterSpeed", "ƒелает вас быстрее в воде" , Category.Movement);
        addSettings(speedCheck, speed, smart, miniJump);
    }

    @EventTarget
    public void onUpdate(EventUpdate event) {
        if (!smart.getCurrentValue()) {
            if (Helper.mc.player.isCollidedHorizontally || !Helper.mc.player.isInWater()
                    || speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {

                return;
            }
            MovementUtils.setMotion(speed.getCurrentValue());
        } else {
            List<ItemStack> stacks = new ArrayList<>();
            Helper.mc.player.getArmorInventoryList().forEach(stacks::add);
            stacks.removeIf(w -> w.getItem() instanceof ItemAir);
            float motion = MovementUtils.getSpeed();
            boolean hasEnchantments = false;
            for (ItemStack stack : stacks) {

                int enchantmentLevel = 0;

                if (buildEnchantments(stack, 1)) {
                    enchantmentLevel = 1;
                }

                if (enchantmentLevel > 0) {
                    motion = 0.5f;
                    hasEnchantments = true;
                }
            }

            if (Helper.mc.player.isCollidedHorizontally) {
                tick = 0;
                return;
            }
            if (!Helper.mc.player.isInWater()) return;
            if (Helper.mc.gameSettings.keyBindJump.isKeyDown() && !Helper.mc.player.isSneaking()
                    && !(Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1, 0)).getBlock() instanceof BlockAir)) {
                Helper.mc.player.motionY = 0.12f;
            }
            if (Helper.mc.gameSettings.keyBindSneak.isKeyDown()) {
                Helper.mc.player.motionY = -0.35f;
            }
            if (speedCheck.getCurrentValue() && !Helper.mc.player.isPotionActive(MobEffects.SPEED)) {
                tick = 0;
                return;
            }


            if (miniJump.getCurrentValue() && hasEnchantments && Helper.mc.world.getBlockState(Helper.mc.player.getPosition().add(0, 1,
                    0)).getBlock() instanceof BlockAir && Helper.mc.gameSettings.keyBindJump.isKeyDown()) {
                tick++;
                Helper.mc.player.motionY = .12f;
            }
            if (hasEnchantments) {
                tick++;
                MovementUtils.setMotion(0.4f);
                Strafe.oldSpeed = 0.4f;
            }

        }

    };

    @Override
    public void onDisable() {
        tick = 0;
        super.onDisable();
    }

    public boolean buildEnchantments(ItemStack stack, float strenght) {
        if (stack != null) {
            if (stack.getItem() instanceof ItemArmor) {
                return EnchantmentHelper.getEnchantmentLevel(Enchantments.DEPTH_STRIDER, stack) > 0;
            }
        } else {
            return false;
        }

        return false;
    }
}
вроде скрипты вообще не работают . почини или помогите пж
 
Забаненный
Статус
Оффлайн
Регистрация
23 Окт 2024
Сообщения
5
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу