<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[BlocksMc Disabler]]></title><description><![CDATA[<p dir="auto"><strong>Code</strong></p>
<pre><code>EntityPlayerSP entityPlayerSP;
    private final Queue&lt;Packet&lt;?&gt;&gt; packet = new ConcurrentLinkedDeque();
    float voidTP;

    @Override
    public void onEnable() {
        if (mc.isSingleplayer()) {
            return;
        }
        if (mc.thePlayer != null) {
            mc.thePlayer.ticksExisted = 0;
        }
    }
    @EventTarget
    public void onPacket(PacketEvent event) {
        Packet p = event.getPacket();
        if (mc.thePlayer.ticksExisted &lt; 250 &amp;&amp; p instanceof S07PacketRespawn) {
            this.packet.clear();
            return;
        }
        
        if (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();
            }
            if (c0B.getAction().equals(C0BPacketEntityAction.Action.STOP_SPRINTING)) {
                event.cancelEvent();
            }
        }
        if (p instanceof C00PacketKeepAlive || p instanceof C0FPacketConfirmTransaction) {
            packet.add(p);
            event.cancelEvent();
            if (packet.size() &gt; 500) {
                sendPacketSilent(this.packet.poll());
            }
        }
        if (p instanceof C03PacketPlayer) {
            if (mc.thePlayer.ticksExisted % 50 == 0) {
                sendPacketUnlogged(new C18PacketSpectate(UUID.randomUUID()));
                voidTP = (float) MathHelper.getRandomDoubleInRange(new Random(), 0.78, 0.98);
                sendPacketUnlogged(new C0CPacketInput(voidTP, voidTP, false, false));
            }
            if (mc.thePlayer.ticksExisted % 120 == 0) {
                voidTP = (float)MathHelper.getRandomDoubleInRange(new Random(), 0.01, 20.0);
            }
        }
    }

    public static void sendPacketUnlogged(Packet&lt;? extends INetHandler&gt; packet) {
        mc.getNetHandler().getNetworkManager().sendPacket(packet);
    }

    public void sendPacketSilent(Packet packet) {
        mc.getNetHandler().getNetworkManager().sendPacket(packet, null, new GenericFutureListener[0]);
    }
</code></pre>
]]></description><link>https://forum.liquidbounce.net/topic/7236/blocksmc-disabler</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 19:50:17 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/7236.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Oct 2022 16:21:52 GMT</pubDate><ttl>60</ttl></channel></rss>