Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is it possible to cancel packets while attacking?
Like:
module.on("attack", function(e) { packet = e.getPacket() if (packet instanceof C08PacketPlayerBlockPlacement) { e.cancelEvent(); } });
@mq just no, you can't get packets from event attack
@foreheadchan ok... then how to check if the player is attacking?
@mq you need to check all packets for C02
https://scriptapi.liquidbounce.net/net/minecraft/network/play/client/C02PacketUseEntity.html