Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Kotlin/Java
  3. Netease HuaYuTing Server Infinite Vanilla Fly Code

Netease HuaYuTing Server Infinite Vanilla Fly Code

Scheduled Pinned Locked Moved Kotlin/Java
18 Posts 8 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    commandblock2
    wrote on last edited by commandblock2
    #8
        @JvmStatic
        private final void sendPacketNoEvent(Packet packet) {
            packets.add(packet);
            mc.getNetHandler().addToSendQueue(packet);
        }
    

    ????
    我不会是上钩了吧

    KoitoyuuK 1 Reply Last reply
    0
    • C commandblock2
          @JvmStatic
          private final void sendPacketNoEvent(Packet packet) {
              packets.add(packet);
              mc.getNetHandler().addToSendQueue(packet);
          }
      

      ????
      我不会是上钩了吧

      KoitoyuuK Offline
      KoitoyuuK Offline
      Koitoyuu
      wrote on last edited by
      #9

      @commandblock2 Secrets make women more women.

      Plumer ManP 1 Reply Last reply
      1
      • KoitoyuuK Koitoyuu

        This is real.
        别忘了在LiquidBounce.kt中添加
        eventManager.registerListener(HuaYuTingFlyHelp())

        HuaYuTingFly.java

        package net.ccbluex.liquidbounce.features.module.modules.movement;
        
        import net.ccbluex.liquidbounce.event.EventTarget;
        import net.ccbluex.liquidbounce.event.UpdateEvent;
        import net.ccbluex.liquidbounce.features.module.Module;
        import net.ccbluex.liquidbounce.features.module.ModuleCategory;
        import net.ccbluex.liquidbounce.features.module.ModuleInfo;
        import net.ccbluex.liquidbounce.features.special.HuaYuTingFlyHelp;
        import net.ccbluex.liquidbounce.utils.MovementUtils;
        import net.ccbluex.liquidbounce.value.FloatValue;
        
        @ModuleInfo(name = "HuaYuTingFly",description = "",category = ModuleCategory.MOVEMENT)
        public class HuaYuTingVanillaFly extends Module {
            private final FloatValue speed = new FloatValue("Speed",1f,0.1f,5f);
            @Override
            public void onEnable() {
                HuaYuTingFlyHelp.flyEnabled = true;
                HuaYuTingFlyHelp.x = mc.thePlayer.posX;
                HuaYuTingFlyHelp.y = mc.thePlayer.posY;
                HuaYuTingFlyHelp.z = mc.thePlayer.posZ;
            }
        
            @EventTarget
            public void onUpdate(UpdateEvent event) {
                final float vanillaSpeed = speed.get();
                mc.thePlayer.capabilities.isFlying = false;
                mc.thePlayer.motionY = 0;
                mc.thePlayer.motionX = 0;
                mc.thePlayer.motionZ = 0;
                if (mc.gameSettings.keyBindJump.isKeyDown())
                    mc.thePlayer.motionY += vanillaSpeed;
                if (mc.gameSettings.keyBindSneak.isKeyDown())
                    mc.thePlayer.motionY -= vanillaSpeed;
                MovementUtils.strafe(vanillaSpeed);
            }
        }
        
        

        HuaYuTingFlyHelp.java

        package net.ccbluex.liquidbounce.features.special;
        
        import kotlin.jvm.JvmStatic;
        import net.ccbluex.liquidbounce.event.EventTarget;
        import net.ccbluex.liquidbounce.event.Listenable;
        import net.ccbluex.liquidbounce.event.PacketEvent;
        import net.ccbluex.liquidbounce.event.UpdateEvent;
        import net.ccbluex.liquidbounce.utils.MinecraftInstance;
        import net.minecraft.network.Packet;
        import net.minecraft.network.play.INetHandlerPlayServer;
        import net.minecraft.network.play.client.C03PacketPlayer;
        
        import java.util.ArrayList;
        import java.util.List;
        
        public class HuaYuTingFlyHelp extends MinecraftInstance implements Listenable {
            public static boolean flyEnabled = false;
            private final List<Packet<INetHandlerPlayServer>> packets =new ArrayList<>();
            private final List<Packet<?>> c03packet = new ArrayList<>();
            public static double x = 0.0;
            public static double y = 0.0;
            public static double z = 0.0;
            @Override
            public boolean handleEvents() {
                return true;
            }
        
            @EventTarget
            public void onPacket(PacketEvent event) {
                if (x + y + z == 0.0) return;
                final Packet<?> packet = event.getPacket();
                if (packet instanceof C03PacketPlayer) {
                    event.cancelEvent();
                    if (c03packet.isEmpty()) c03packet.add(packet); else sendPacketNoEvent(c03packet.get(0));
                }
            }
        
            @EventTarget
            public void onUpdate(UpdateEvent event) {
                mc.thePlayer.setPositionAndUpdate(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ);
            }
        
            @JvmStatic
            private final void sendPacketNoEvent(Packet packet) {
                packets.add(packet);
                mc.getNetHandler().addToSendQueue(packet);
            }
        }
        KoitoyuuK Offline
        KoitoyuuK Offline
        Koitoyuu
        wrote on last edited by
        #10

        @koitoyuu fixed lagback bug >3

        1 Reply Last reply
        0
        • Plumer ManP Plumer Man referenced this topic on
        • KoitoyuuK Koitoyuu

          @shadowofmarsh you have go to mc.163.com download netease minecraft box,after download 花雨庭 client

          Hacked Clients MinecraftH Offline
          Hacked Clients MinecraftH Offline
          Hacked Clients Minecraft
          wrote on last edited by
          #11

          @koitoyuu And what to do if this window is displayed? Screenshot_1.png

          Hacked Clients MinecraftH Ali00035A KoitoyuuK 3 Replies Last reply
          0
          • Hacked Clients MinecraftH Hacked Clients Minecraft

            @koitoyuu And what to do if this window is displayed? Screenshot_1.png

            Hacked Clients MinecraftH Offline
            Hacked Clients MinecraftH Offline
            Hacked Clients Minecraft
            wrote on last edited by
            #12

            @hacked-clients-minecraft I use VPN

            1 Reply Last reply
            0
            • KoitoyuuK Koitoyuu

              @commandblock2 Secrets make women more women.

              Plumer ManP Offline
              Plumer ManP Offline
              Plumer Man
              wrote on last edited by
              #13

              secrete or secret

              1 Reply Last reply
              0
              • Hacked Clients MinecraftH Hacked Clients Minecraft

                @koitoyuu And what to do if this window is displayed? Screenshot_1.png

                Ali00035A Offline
                Ali00035A Offline
                Ali00035
                wrote on last edited by
                #14

                @hacked-clients-minecraft is that your real name?

                1 Reply Last reply
                0
                • Hacked Clients MinecraftH Hacked Clients Minecraft

                  @koitoyuu And what to do if this window is displayed? Screenshot_1.png

                  KoitoyuuK Offline
                  KoitoyuuK Offline
                  Koitoyuu
                  wrote on last edited by
                  #15

                  @hacked-clients-minecraft Netease Minecraft identity information outside of China is not supported

                  Hacked Clients MinecraftH 1 Reply Last reply
                  0
                  • KoitoyuuK Koitoyuu

                    @hacked-clients-minecraft Netease Minecraft identity information outside of China is not supported

                    Hacked Clients MinecraftH Offline
                    Hacked Clients MinecraftH Offline
                    Hacked Clients Minecraft
                    wrote on last edited by
                    #16

                    @koitoyuu said in Netease HuaYuTing Server Infinite Vanilla Fly Code:

                    Netease Minecraft identity information outside of China is not supported

                    It's a shame (

                    Ali00035A MxmbleeM 2 Replies Last reply
                    0
                    • Hacked Clients MinecraftH Hacked Clients Minecraft

                      @koitoyuu said in Netease HuaYuTing Server Infinite Vanilla Fly Code:

                      Netease Minecraft identity information outside of China is not supported

                      It's a shame (

                      Ali00035A Offline
                      Ali00035A Offline
                      Ali00035
                      wrote on last edited by
                      #17

                      @hacked-clients-minecraft I know.

                      1 Reply Last reply
                      0
                      • Hacked Clients MinecraftH Hacked Clients Minecraft

                        @koitoyuu said in Netease HuaYuTing Server Infinite Vanilla Fly Code:

                        Netease Minecraft identity information outside of China is not supported

                        It's a shame (

                        MxmbleeM Offline
                        MxmbleeM Offline
                        Mxmblee
                        wrote on last edited by
                        #18

                        @Hacked-Clients-Minecraft I can help you

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        About
                        • Terms of Service
                        • Privacy Policy
                        • Status
                        • Contact Us
                        Downloads
                        • Releases
                        • Source code
                        • License
                        Docs
                        • Tutorials
                        • CustomHUD
                        • AutoSettings
                        • ScriptAPI
                        Community
                        • Forum
                        • Guilded
                        • YouTube
                        • Twitter
                        • D.Tube
                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups