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. CubeCraft Disabler

CubeCraft Disabler

Scheduled Pinned Locked Moved Kotlin/Java
2 Posts 2 Posters 621 Views
  • 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.
  • YounKooY Offline
    YounKooY Offline
    YounKoo
    wrote on last edited by
    #1

    Code

        KillAura killAura = (KillAura) LiquidBounce.moduleManager.getModule(KillAura.class);
        EntityPlayerSP entityPlayerSP;
    
        @EventTarget
        public void onPacket(PacketEvent event) {
            if(killAura == null) {
                return;
            }
            
            Packet p = event.getPacket();
    
            if (p instanceof C03PacketPlayer.C06PacketPlayerPosLook && !Objects.requireNonNull(LiquidBounce.moduleManager.getModule(Scaffold.class)).isToggled()) {
                event.cancelEvent();
            }
            if (p instanceof C03PacketPlayer && !((C03PacketPlayer)p).isMoving() && !mc.thePlayer.isUsingItem()) {
                event.cancelEvent();
            }
            if (p instanceof C00PacketKeepAlive) {
                event.cancelEvent();
            }
            if (p instanceof C0FPacketConfirmTransaction) {
                event.cancelEvent();
            }
            if (p instanceof C0CPacketInput) {
                event.cancelEvent();
            }
            if (p instanceof C01PacketPing) {
                event.cancelEvent();
            }
            if (killAura.getTarget() == null) {
                assert (p instanceof C0BPacketEntityAction);
                C0BPacketEntityAction c0B = (C0BPacketEntityAction)p;
                if (c0B.getAction().equals(C0BPacketEntityAction.Action.START_SPRINTING)) {
                    if (entityPlayerSP.serverSprintState) {
                        sendPacketSilent(new C0BPacketEntityAction(mc.thePlayer, C0BPacketEntityAction.Action.STOP_SPRINTING));
                        entityPlayerSP.serverSprintState = false;
                    }
                    event.cancelEvent();
                }
            }
        }
    
        public void sendPacketSilent(Packet packet) {
            mc.getNetHandler().getNetworkManager().sendPacket(packet, null, new GenericFutureListener[0]);
        }
    
    1 Reply Last reply
    0
    • SmallS Offline
      SmallS Offline
      Small
      wrote on last edited by
      #2

      That is literally aqua clients disabler

      1 Reply Last reply
      1
      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